[gtk+/wip/otte/gtk4: 73/127] Remove gtkcolorsel(dialog).{c,h}



commit a8e551391b78872fe88f0caee8b17bd7dd1fa82d
Author: Timm Bäder <mail baedert org>
Date:   Tue Oct 4 12:34:10 2016 +0200

    Remove gtkcolorsel(dialog).{c,h}

 gtk/deprecated/Makefile.inc        |    4 -
 gtk/deprecated/gtkcolorsel.c       | 3082 ------------------------------------
 gtk/deprecated/gtkcolorsel.h       |  174 --
 gtk/deprecated/gtkcolorseldialog.c |  276 ----
 gtk/deprecated/gtkcolorseldialog.h |   81 -
 gtk/gtk.h                          |    2 -
 testsuite/gtk/defaultvalue.c       |   12 -
 7 files changed, 0 insertions(+), 3631 deletions(-)
---
diff --git a/gtk/deprecated/Makefile.inc b/gtk/deprecated/Makefile.inc
index aa7ab82..ac9af6e 100644
--- a/gtk/deprecated/Makefile.inc
+++ b/gtk/deprecated/Makefile.inc
@@ -3,8 +3,6 @@ deprecated_h_sources =                  \
        deprecated/gtkaction.h          \
        deprecated/gtkactiongroup.h     \
        deprecated/gtkalignment.h       \
-       deprecated/gtkcolorsel.h        \
-       deprecated/gtkcolorseldialog.h  \
        deprecated/gtkgradient.h        \
        deprecated/gtkhbbox.h           \
        deprecated/gtkhpaned.h          \
@@ -40,8 +38,6 @@ deprecated_c_sources =                        \
        deprecated/gtkaction.c          \
        deprecated/gtkactiongroup.c     \
        deprecated/gtkalignment.c       \
-       deprecated/gtkcolorsel.c        \
-       deprecated/gtkcolorseldialog.c  \
        deprecated/gtkgradient.c        \
        deprecated/gtkhbbox.c           \
        deprecated/gtkhpaned.c          \
diff --git a/gtk/gtk.h b/gtk/gtk.h
index eb4f315..be4d72e 100644
--- a/gtk/gtk.h
+++ b/gtk/gtk.h
@@ -248,8 +248,6 @@
 #include <gtk/deprecated/gtkaction.h>
 #include <gtk/deprecated/gtkactiongroup.h>
 #include <gtk/deprecated/gtkalignment.h>
-#include <gtk/deprecated/gtkcolorsel.h>
-#include <gtk/deprecated/gtkcolorseldialog.h>
 #include <gtk/deprecated/gtkgradient.h>
 #include <gtk/deprecated/gtkhbbox.h>
 #include <gtk/deprecated/gtkhpaned.h>
diff --git a/testsuite/gtk/defaultvalue.c b/testsuite/gtk/defaultvalue.c
index 156b0a4..1c5cecb 100644
--- a/testsuite/gtk/defaultvalue.c
+++ b/testsuite/gtk/defaultvalue.c
@@ -200,18 +200,6 @@ test_type (gconstpointer data)
 
 G_GNUC_BEGIN_IGNORE_DEPRECATIONS
 
-      if (g_type_is_a (type, GTK_TYPE_COLOR_SELECTION) &&
-         (strcmp (pspec->name, "current-color") == 0 ||
-          strcmp (pspec->name, "current-rgba") == 0))
-       continue;
-
-      if (g_type_is_a (type, GTK_TYPE_COLOR_SELECTION_DIALOG) &&
-         (strcmp (pspec->name, "color-selection") == 0 ||
-          strcmp (pspec->name, "ok-button") == 0 ||
-          strcmp (pspec->name, "help-button") == 0 ||
-          strcmp (pspec->name, "cancel-button") == 0))
-       continue;
-
       if (g_type_is_a (type, GTK_TYPE_COMBO_BOX) &&
          (strcmp (pspec->name, "cell-area") == 0 ||
            strcmp (pspec->name, "cell-area-context") == 0))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]