[gtk+/wip/otte/gtk4: 71/118] Remove gtkfontsel.{c,h}



commit d5fa39352a8b6793ae7107d08a2dcb265fac13d3
Author: Timm Bäder <mail baedert org>
Date:   Tue Oct 4 10:30:07 2016 +0200

    Remove gtkfontsel.{c,h}

 docs/reference/gtk/gtk3-sections.txt |   55 -
 gtk/deprecated/Makefile.inc          |    2 -
 gtk/deprecated/gtkfontsel.c          | 1923 ----------------------------------
 gtk/deprecated/gtkfontsel.h          |  166 ---
 gtk/gtk.h                            |    1 -
 tests/Makefile.am                    |   10 -
 tests/testfontselection.c            |   78 --
 tests/testfontselectiondialog.c      |   41 -
 testsuite/gtk/defaultvalue.c         |    4 -
 testsuite/gtk/object.c               |    1 -
 10 files changed, 0 insertions(+), 2281 deletions(-)
---
diff --git a/docs/reference/gtk/gtk3-sections.txt b/docs/reference/gtk/gtk3-sections.txt
index c2ab2d2..4754d99 100644
--- a/docs/reference/gtk/gtk3-sections.txt
+++ b/docs/reference/gtk/gtk3-sections.txt
@@ -1590,61 +1590,6 @@ gtk_font_button_get_type
 </SECTION>
 
 <SECTION>
-<FILE>gtkfontsel</FILE>
-<TITLE>GtkFontSelection</TITLE>
-GtkFontSelection
-gtk_font_selection_new
-gtk_font_selection_get_font_name
-gtk_font_selection_set_font_name
-gtk_font_selection_get_preview_text
-gtk_font_selection_set_preview_text
-gtk_font_selection_get_face
-gtk_font_selection_get_face_list
-gtk_font_selection_get_family
-gtk_font_selection_get_size
-gtk_font_selection_get_family_list
-gtk_font_selection_get_preview_entry
-gtk_font_selection_get_size_entry
-gtk_font_selection_get_size_list
-
-<SUBSECTION Standard>
-GTK_FONT_SELECTION
-GTK_IS_FONT_SELECTION
-GTK_TYPE_FONT_SELECTION
-GTK_FONT_SELECTION_CLASS
-GTK_IS_FONT_SELECTION_CLASS
-GTK_FONT_SELECTION_GET_CLASS
-<SUBSECTION Private>
-GtkFontSelectionPrivate
-gtk_font_selection_get_type
-</SECTION>
-
-<SECTION>
-<FILE>gtkfontseldlg</FILE>
-<TITLE>GtkFontSelectionDialog</TITLE>
-GtkFontSelectionDialog
-gtk_font_selection_dialog_new
-gtk_font_selection_dialog_get_font_name
-gtk_font_selection_dialog_set_font_name
-gtk_font_selection_dialog_get_preview_text
-gtk_font_selection_dialog_set_preview_text
-gtk_font_selection_dialog_get_cancel_button
-gtk_font_selection_dialog_get_ok_button
-gtk_font_selection_dialog_get_font_selection
-
-<SUBSECTION Standard>
-GTK_FONT_SELECTION_DIALOG
-GTK_IS_FONT_SELECTION_DIALOG
-GTK_TYPE_FONT_SELECTION_DIALOG
-GTK_FONT_SELECTION_DIALOG_CLASS
-GTK_IS_FONT_SELECTION_DIALOG_CLASS
-GTK_FONT_SELECTION_DIALOG_GET_CLASS
-<SUBSECTION Private>
-GtkFontSelectionDialogPrivate
-gtk_font_selection_dialog_get_type
-</SECTION>
-
-<SECTION>
 <FILE>gtkfontchooser</FILE>
 <TITLE>GtkFontChooser</TITLE>
 GtkFontChooser
diff --git a/gtk/deprecated/Makefile.inc b/gtk/deprecated/Makefile.inc
index 5034a9c..aa7ab82 100644
--- a/gtk/deprecated/Makefile.inc
+++ b/gtk/deprecated/Makefile.inc
@@ -5,7 +5,6 @@ deprecated_h_sources =                  \
        deprecated/gtkalignment.h       \
        deprecated/gtkcolorsel.h        \
        deprecated/gtkcolorseldialog.h  \
-       deprecated/gtkfontsel.h         \
        deprecated/gtkgradient.h        \
        deprecated/gtkhbbox.h           \
        deprecated/gtkhpaned.h          \
@@ -43,7 +42,6 @@ deprecated_c_sources =                        \
        deprecated/gtkalignment.c       \
        deprecated/gtkcolorsel.c        \
        deprecated/gtkcolorseldialog.c  \
-       deprecated/gtkfontsel.c         \
        deprecated/gtkgradient.c        \
        deprecated/gtkhbbox.c           \
        deprecated/gtkhpaned.c          \
diff --git a/gtk/gtk.h b/gtk/gtk.h
index 4b1bd55..eb4f315 100644
--- a/gtk/gtk.h
+++ b/gtk/gtk.h
@@ -250,7 +250,6 @@
 #include <gtk/deprecated/gtkalignment.h>
 #include <gtk/deprecated/gtkcolorsel.h>
 #include <gtk/deprecated/gtkcolorseldialog.h>
-#include <gtk/deprecated/gtkfontsel.h>
 #include <gtk/deprecated/gtkgradient.h>
 #include <gtk/deprecated/gtkhbbox.h>
 #include <gtk/deprecated/gtkhpaned.h>
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 59b71ca..4884490 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -67,8 +67,6 @@ noinst_PROGRAMS =  $(TEST_PROGS)      \
        testfilechooser                 \
        testfilechooserbutton           \
        testflowbox                     \
-       testfontselection               \
-       testfontselectiondialog         \
        testfontchooser                 \
        testfontoptions                 \
        $(fontconfig_programs)          \
@@ -204,8 +202,6 @@ testerrors_DEPENDENCIES = $(TEST_DEPS)
 testfilechooser_DEPENDENCIES = $(TEST_DEPS)
 testfilechooserbutton_DEPENDENCIES = $(TEST_DEPS)
 testflowbox_DEPENDENCIES = $(TEST_DEPS)
-testfontselection_DEPENDENCIES = $(TEST_DEPS)
-testfontselectiondialog_DEPENDENCIES = $(TEST_DEPS)
 testfontchooser_DEPENDENCIES = $(TEST_DEPS)
 testfontchooserdialog_DEPENDENCIES = $(TEST_DEPS)
 testfontoptions_DEPENDENCIES = $(TEST_DEPS)
@@ -333,12 +329,6 @@ testfilechooserbutton_SOURCES =    \
 testflowbox_SOURCES = \
        testflowbox.c
 
-testfontselection_SOURCES = \
-       testfontselection.c
-
-testfontselectiondialog_SOURCES = \
-       testfontselectiondialog.c
-
 testfontchooser_SOURCES = \
        testfontchooser.c
 
diff --git a/testsuite/gtk/defaultvalue.c b/testsuite/gtk/defaultvalue.c
index 3f13471..156b0a4 100644
--- a/testsuite/gtk/defaultvalue.c
+++ b/testsuite/gtk/defaultvalue.c
@@ -232,10 +232,6 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
            strcmp (pspec->name, "cell-area-context") == 0))
        continue;
 
-      if (g_type_is_a (type, GTK_TYPE_FONT_SELECTION) &&
-         strcmp (pspec->name, "font") == 0)
-       continue;
-
       if (g_type_is_a (type, GTK_TYPE_ICON_VIEW) &&
          (strcmp (pspec->name, "cell-area") == 0 ||
            strcmp (pspec->name, "cell-area-context") == 0))
diff --git a/testsuite/gtk/object.c b/testsuite/gtk/object.c
index 6bdcd73..2e90b74 100644
--- a/testsuite/gtk/object.c
+++ b/testsuite/gtk/object.c
@@ -65,7 +65,6 @@ list_ignore_properties (gboolean buglist)
     { "GtkInputDialog",         "has-separator",        (void*) MATCH_ANY_VALUE, },     /* property disabled 
*/
     { "GtkInvisible",           "screen",               (void*) MATCH_ANY_VALUE },      /* cannot create 
GdkScreen */
     { "GtkMessageDialog",       "has-separator",        (void*) MATCH_ANY_VALUE, },     /* property disabled 
*/
-    { "GtkFontSelectionDialog", "has-separator",        (void*) MATCH_ANY_VALUE, },     /* property disabled 
*/
     { "GtkColorSelectionDialog","has-separator",        (void*) MATCH_ANY_VALUE, },     /* property disabled 
*/
     { "GtkColorSelection",      "child",                NULL, },
     { "GtkColorSelection",      "current-color",        (void*) NULL, },                /* not a valid boxed 
color */


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