[gtk+/wip/cosimoc/toolbar-gadget: 4/6] toolbar: deprecate GtkToolbarSpaceStyle and space-style style property



commit de664020b7ba4ca74be177f7a239c55c8f5eefb6
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue Dec 29 17:33:08 2015 -0800

    toolbar: deprecate GtkToolbarSpaceStyle and space-style style property
    
    This is completely unused already.

 gtk/gtktoolbar.c |    8 ++++++++
 gtk/gtktoolbar.h |    2 ++
 2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtktoolbar.c b/gtk/gtktoolbar.c
index f5d7fb2..189463a 100644
--- a/gtk/gtktoolbar.c
+++ b/gtk/gtktoolbar.c
@@ -631,6 +631,14 @@ gtk_toolbar_class_init (GtkToolbarClass *klass)
                                                              G_MAXINT,
                                                              GTK_PARAM_READABLE));
 
+  /**
+   * GtkToolbar:space-style:
+   *
+   * Style of toolbar spacers.
+   *
+   * Deprecated: 3.20: Use CSS properties on the separator elements to style
+   *   toolbar spacers; the value of this style property is ignored.
+   */
   gtk_widget_class_install_style_property (widget_class,
                                           g_param_spec_enum ("space-style",
                                                              P_("Space style"),
diff --git a/gtk/gtktoolbar.h b/gtk/gtktoolbar.h
index f91ecfb..9937579 100644
--- a/gtk/gtktoolbar.h
+++ b/gtk/gtktoolbar.h
@@ -54,6 +54,8 @@ G_BEGIN_DECLS
  * @GTK_TOOLBAR_SPACE_LINE: Use vertical lines for spacers.
  *
  * Whether spacers are vertical lines or just blank.
+ *
+ * Deprecated: 3.20
  */
 typedef enum
 {


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