[gtk+/wip/baedert/box] gtkwidget: Remove gtk_widget_class_install_style_property_parser...



commit e7686a592c341dd7da3cce8f67504e466ea50045
Author: Timm Bäder <mail baedert org>
Date:   Wed Oct 5 17:08:11 2016 +0200

    gtkwidget: Remove gtk_widget_class_install_style_property_parser...
    
    ... from public API

 docs/reference/gtk/gtk3-sections.txt |    1 -
 gtk/gtkwidget.c                      |   11 +----------
 gtk/gtkwidget.h                      |    4 ----
 3 files changed, 1 insertions(+), 15 deletions(-)
---
diff --git a/docs/reference/gtk/gtk3-sections.txt b/docs/reference/gtk/gtk3-sections.txt
index c3d1d41..1cb4c5a 100644
--- a/docs/reference/gtk/gtk3-sections.txt
+++ b/docs/reference/gtk/gtk3-sections.txt
@@ -5244,7 +5244,6 @@ gtk_widget_set_double_buffered
 gtk_widget_set_redraw_on_allocate
 gtk_widget_mnemonic_activate
 gtk_widget_class_install_style_property
-gtk_widget_class_install_style_property_parser
 gtk_widget_class_find_style_property
 gtk_widget_class_list_style_properties
 gtk_widget_region_intersect
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 59fffda..eb0024c 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -12134,16 +12134,7 @@ gtk_widget_input_shape_combine_region (GtkWidget      *widget,
 
 /* style properties
  */
-
-/**
- * gtk_widget_class_install_style_property_parser: (skip)
- * @klass: a #GtkWidgetClass
- * @pspec: the #GParamSpec for the style property
- * @parser: the parser for the style property
- *
- * Installs a style property on a widget class.
- **/
-void
+static void
 gtk_widget_class_install_style_property_parser (GtkWidgetClass     *klass,
                                                GParamSpec         *pspec,
                                                GtkRcPropertyParser parser)
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h
index 033481a..cd41d9f 100644
--- a/gtk/gtkwidget.h
+++ b/gtk/gtkwidget.h
@@ -1138,10 +1138,6 @@ GDK_AVAILABLE_IN_ALL
 void gtk_widget_class_install_style_property        (GtkWidgetClass     *klass,
                                                     GParamSpec         *pspec);
 GDK_AVAILABLE_IN_ALL
-void gtk_widget_class_install_style_property_parser (GtkWidgetClass     *klass,
-                                                    GParamSpec         *pspec,
-                                                    GtkRcPropertyParser parser);
-GDK_AVAILABLE_IN_ALL
 GParamSpec*  gtk_widget_class_find_style_property   (GtkWidgetClass     *klass,
                                                     const gchar        *property_name);
 GDK_AVAILABLE_IN_ALL


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