[gtk+/wip/otte/gtk4: 111/118] gtkwidget: Remove gtk_widget_class_install_style_property_parser...



commit da98a50c3e8840883c0d471dd1067ea2f3859ee0
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 2661fa0..1e63614 100644
--- a/docs/reference/gtk/gtk3-sections.txt
+++ b/docs/reference/gtk/gtk3-sections.txt
@@ -5152,7 +5152,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 5ae270a..30046ab 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -11940,16 +11940,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 9a8117f..e7a49a7 100644
--- a/gtk/gtkwidget.h
+++ b/gtk/gtkwidget.h
@@ -1131,10 +1131,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]