[gtk+/wip/otte/gtk4: 101/127] Remove various unused style properties



commit f00ec6c04957360699b6159bfa51b4e2d0b3fe60
Author: Timm Bäder <mail baedert org>
Date:   Tue Oct 4 20:16:52 2016 +0200

    Remove various unused style properties

 gtk/gtkassistant.c     |   32 ----------------
 gtk/gtkcheckbutton.c   |   17 --------
 gtk/gtkcheckmenuitem.c |   17 --------
 gtk/gtkcombobox.c      |   58 ----------------------------
 gtk/gtkexpander.c      |   17 --------
 gtk/gtkiconview.c      |   16 --------
 gtk/gtkinfobar.c       |   70 ----------------------------------
 gtk/gtkmenu.c          |   69 ---------------------------------
 gtk/gtkmenubar.c       |   35 -----------------
 gtk/gtknotebook.c      |   98 ------------------------------------------------
 gtk/gtkscale.c         |   32 ----------------
 gtk/gtkstatusbar.c     |   16 --------
 gtk/gtktoolbar.c       |   67 --------------------------------
 gtk/gtkwidget.c        |   30 ---------------
 14 files changed, 0 insertions(+), 574 deletions(-)
---
diff --git a/gtk/gtkassistant.c b/gtk/gtkassistant.c
index c011999..faf60e7 100644
--- a/gtk/gtkassistant.c
+++ b/gtk/gtkassistant.c
@@ -529,38 +529,6 @@ gtk_assistant_class_init (GtkAssistantClass *class)
                                                      GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT_ONLY));
 
   /**
-   * GtkAssistant:header-padding:
-   *
-   * Number of pixels around the header.
-   *
-   * Deprecated:3.20: This style property is ignored.
-   */
-  gtk_widget_class_install_style_property (widget_class,
-                                           g_param_spec_int ("header-padding",
-                                                             P_("Header Padding"),
-                                                             P_("Number of pixels around the header."),
-                                                             0,
-                                                             G_MAXINT,
-                                                             6,
-                                                             GTK_PARAM_READABLE | G_PARAM_DEPRECATED));
-
-  /**
-   * GtkAssistant:content-padding:
-   *
-   * Number of pixels around the content.
-   *
-   * Deprecated:3.20: This style property is ignored.
-   */
-  gtk_widget_class_install_style_property (widget_class,
-                                           g_param_spec_int ("content-padding",
-                                                             P_("Content Padding"),
-                                                             P_("Number of pixels around the content 
pages."),
-                                                             0,
-                                                             G_MAXINT,
-                                                             1,
-                                                             GTK_PARAM_READABLE | G_PARAM_DEPRECATED));
-
-  /**
    * GtkAssistant:page-type:
    *
    * The type of the assistant page.
diff --git a/gtk/gtkcheckbutton.c b/gtk/gtkcheckbutton.c
index 6cb6446..b4e82fc 100644
--- a/gtk/gtkcheckbutton.c
+++ b/gtk/gtkcheckbutton.c
@@ -220,23 +220,6 @@ gtk_check_button_class_init (GtkCheckButtonClass *class)
   container_class->add = gtk_check_button_add;
   container_class->remove = gtk_check_button_remove;
 
-  /**
-   * GtkCheckButton:indicator-spacing:
-   *
-   * The spacing around the indicator.
-   *
-   * Deprecated: 3.20: Use CSS margins of the indicator node,
-   *    the value of this style property is ignored.
-   */
-  gtk_widget_class_install_style_property (widget_class,
-                                          g_param_spec_int ("indicator-spacing",
-                                                            P_("Indicator Spacing"),
-                                                            P_("Spacing around check or radio indicator"),
-                                                            0,
-                                                            G_MAXINT,
-                                                            INDICATOR_SPACING,
-                                                            GTK_PARAM_READABLE|G_PARAM_DEPRECATED));
-
   gtk_widget_class_set_accessible_role (widget_class, ATK_ROLE_CHECK_BOX);
   gtk_widget_class_set_css_name (widget_class, "checkbutton");
 }
diff --git a/gtk/gtkcheckmenuitem.c b/gtk/gtkcheckmenuitem.c
index b3b32d2..44dc2a7 100644
--- a/gtk/gtkcheckmenuitem.c
+++ b/gtk/gtkcheckmenuitem.c
@@ -227,23 +227,6 @@ gtk_check_menu_item_class_init (GtkCheckMenuItemClass *klass)
                                                          FALSE,
                                                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
-  /**
-   * GtkCheckMenuItem:indicator-size:
-   *
-   * The size of the check or radio indicator.
-   *
-   * Deprecated: 3.20: Use the standard CSS property min-width on the check or
-   *   radio nodes; the value of this style property is ignored.
-   */
-  gtk_widget_class_install_style_property (widget_class,
-                                           g_param_spec_int ("indicator-size",
-                                                             P_("Indicator Size"),
-                                                             P_("Size of check or radio indicator"),
-                                                             0,
-                                                             G_MAXINT,
-                                                             INDICATOR_SIZE,
-                                                             GTK_PARAM_READABLE|G_PARAM_DEPRECATED));
-
   widget_class->draw = gtk_check_menu_item_draw;
 
   menu_item_class->activate = gtk_check_menu_item_activate;
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c
index 048361c..a3044a0 100644
--- a/gtk/gtkcombobox.c
+++ b/gtk/gtkcombobox.c
@@ -1149,64 +1149,6 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
                                                                  FALSE,
                                                                  GTK_PARAM_READABLE));
 
-  /**
-   * GtkComboBox:arrow-size:
-   *
-   * Sets the minimum size of the arrow in the combo box.  Note
-   * that the arrow size is coupled to the font size, so in case
-   * a larger font is used, the arrow will be larger than set
-   * by arrow size.
-   *
-   * Since: 2.12
-   *
-   * Deprecated: 3.20: use the standard min-width/min-height CSS properties on
-   *   the arrow node; the value of this style property is ignored.
-   */
-  gtk_widget_class_install_style_property (widget_class,
-                                           g_param_spec_int ("arrow-size",
-                                                             P_("Arrow Size"),
-                                                             P_("The minimum size of the arrow in the combo 
box"),
-                                                             0,
-                                                             G_MAXINT,
-                                                             15,
-                                                             GTK_PARAM_READABLE|G_PARAM_DEPRECATED));
-
-  /**
-   * GtkComboBox:arrow-scaling:
-   *
-   * Sets the amount of space used up by the combobox arrow,
-   * proportional to the font size.
-   *
-   * Deprecated: 3.20: use the standard min-width/min-height CSS properties on
-   *   the arrow node; the value of this style property is ignored.
-   */
-  gtk_widget_class_install_style_property (widget_class,
-                                           g_param_spec_float ("arrow-scaling",
-                                                               P_("Arrow Scaling"),
-                                                               P_("The amount of space used by the arrow"),
-                                                             0,
-                                                             2.0,
-                                                             1.0,
-                                                             GTK_PARAM_READABLE|G_PARAM_DEPRECATED));
-
-  /**
-   * GtkComboBox:shadow-type:
-   *
-   * Which kind of shadow to draw around the combo box.
-   *
-   * Since: 2.12
-   *
-   * Deprecated: 3.20: use CSS styling to change the appearance of the combobox
-   *   frame; the value of this style property is ignored.
-   */
-  gtk_widget_class_install_style_property (widget_class,
-                                           g_param_spec_enum ("shadow-type",
-                                                              P_("Shadow type"),
-                                                              P_("Which kind of shadow to draw around the 
combo box"),
-                                                              GTK_TYPE_SHADOW_TYPE,
-                                                              GTK_SHADOW_NONE,
-                                                              GTK_PARAM_READABLE|G_PARAM_DEPRECATED));
-
   gtk_widget_class_set_template_from_resource (widget_class, "/org/gtk/libgtk/ui/gtkcombobox.ui");
   gtk_widget_class_bind_template_child_internal_private (widget_class, GtkComboBox, box);
   gtk_widget_class_bind_template_child_internal_private (widget_class, GtkComboBox, button);
diff --git a/gtk/gtkexpander.c b/gtk/gtkexpander.c
index 0bc124e..71bc2be 100644
--- a/gtk/gtkexpander.c
+++ b/gtk/gtkexpander.c
@@ -373,23 +373,6 @@ gtk_expander_class_init (GtkExpanderClass *klass)
                                                          FALSE,
                                                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
-  /**
-   * GtkExpander:expander-spacing:
-   *
-   * Spaing around the expander arrow.
-   *
-   * Deprecated: 3.20: Use CSS margins instead, the value of this
-   *    style property is ignored.
-   */
-  gtk_widget_class_install_style_property (widget_class,
-                                           g_param_spec_int ("expander-spacing",
-                                                             P_("Indicator Spacing"),
-                                                             P_("Spacing around expander arrow"),
-                                                             0,
-                                                             G_MAXINT,
-                                                             DEFAULT_EXPANDER_SPACING,
-                                                             GTK_PARAM_READABLE|G_PARAM_DEPRECATED));
-
   widget_class->activate_signal =
     g_signal_new (I_("activate"),
                   G_TYPE_FROM_CLASS (gobject_class),
diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c
index 24031c0..e6a8875 100644
--- a/gtk/gtkiconview.c
+++ b/gtk/gtkiconview.c
@@ -673,22 +673,6 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
   g_object_class_override_property (gobject_class, PROP_HSCROLL_POLICY, "hscroll-policy");
   g_object_class_override_property (gobject_class, PROP_VSCROLL_POLICY, "vscroll-policy");
 
-  /**
-   * GtkIconView:selection-box-alpha:
-   *
-   * The opacity of the selection box.
-   *
-   * Deprecated: 3.20: The opacity of the selection box is determined by CSS;
-   *     the value of this style property is ignored.
-   */
-  gtk_widget_class_install_style_property (widget_class,
-                                           g_param_spec_uchar ("selection-box-alpha",
-                                                               P_("Selection Box Alpha"),
-                                                               P_("Opacity of the selection box"),
-                                                               0, 0xff,
-                                                               0x40,
-                                                               GTK_PARAM_READABLE|G_PARAM_DEPRECATED));
-
   /* Signals */
   /**
    * GtkIconView::item-activated:
diff --git a/gtk/gtkinfobar.c b/gtk/gtkinfobar.c
index c925538..02aa7cc 100644
--- a/gtk/gtkinfobar.c
+++ b/gtk/gtkinfobar.c
@@ -420,76 +420,6 @@ gtk_info_bar_class_init (GtkInfoBarClass *klass)
                                   g_cclosure_marshal_VOID__VOID,
                                   G_TYPE_NONE, 0);
 
-  /**
-   * GtkInfoBar:content-area-border:
-   *
-   * The width of the border around the content
-   * content area of the info bar.
-   *
-   * Since: 2.18
-   * Deprecated: 3.6: Use gtk_container_set_border_width()
-   */
-  gtk_widget_class_install_style_property (widget_class,
-                                           g_param_spec_int ("content-area-border",
-                                                             P_("Content area border"),
-                                                             P_("Width of border around the content area"),
-                                                             0,
-                                                             G_MAXINT,
-                                                             CONTENT_AREA_DEFAULT_BORDER,
-                                                             GTK_PARAM_READABLE|G_PARAM_DEPRECATED));
-
-  /**
-   * GtkInfoBar:content-area-spacing:
-   *
-   * The default spacing used between elements of the
-   * content area of the info bar.
-   *
-   * Since: 2.18
-   * Deprecated: 3.6: Use gtk_box_set_spacing()
-   */
-  gtk_widget_class_install_style_property (widget_class,
-                                           g_param_spec_int ("content-area-spacing",
-                                                             P_("Content area spacing"),
-                                                             P_("Spacing between elements of the area"),
-                                                             0,
-                                                             G_MAXINT,
-                                                             CONTENT_AREA_DEFAULT_SPACING,
-                                                             GTK_PARAM_READABLE|G_PARAM_DEPRECATED));
-
-  /**
-   * GtkInfoBar:button-spacing:
-   *
-   * Spacing between buttons in the action area of the info bar.
-   *
-   * Since: 2.18
-   * Deprecated: 3.6: Use gtk_box_set_spacing()
-   */
-  gtk_widget_class_install_style_property (widget_class,
-                                           g_param_spec_int ("button-spacing",
-                                                             P_("Button spacing"),
-                                                             P_("Spacing between buttons"),
-                                                             0,
-                                                             G_MAXINT,
-                                                             ACTION_AREA_DEFAULT_SPACING,
-                                                             GTK_PARAM_READABLE|G_PARAM_DEPRECATED));
-
-  /**
-   * GtkInfoBar:action-area-border:
-   *
-   * Width of the border around the action area of the info bar.
-   *
-   * Since: 2.18
-   * Deprecated: 3.6: Use gtk_container_set_border_width()
-   */
-  gtk_widget_class_install_style_property (widget_class,
-                                           g_param_spec_int ("action-area-border",
-                                                             P_("Action area border"),
-                                                             P_("Width of border around the action area"),
-                                                             0,
-                                                             G_MAXINT,
-                                                             ACTION_AREA_DEFAULT_BORDER,
-                                                             GTK_PARAM_READABLE|G_PARAM_DEPRECATED));
-
   binding_set = gtk_binding_set_by_class (klass);
 
   gtk_binding_entry_add_signal (binding_set, GDK_KEY_Escape, 0, "close", 0);
diff --git a/gtk/gtkmenu.c b/gtk/gtkmenu.c
index b7ef233..a17fa9e 100644
--- a/gtk/gtkmenu.c
+++ b/gtk/gtkmenu.c
@@ -823,44 +823,6 @@ gtk_menu_class_init (GtkMenuClass *class)
                                                       G_PARAM_STATIC_BLURB |
                                                       G_PARAM_EXPLICIT_NOTIFY));
 
-  /**
-   * GtkMenu:horizontal-padding:
-   *
-   * Extra space at the left and right edges of the menu.
-   *
-   * Deprecated: 3.8: use the standard padding CSS property (through objects
-   *   like #GtkStyleContext and #GtkCssProvider); the value of this style
-   *   property is ignored.
-   */
-  gtk_widget_class_install_style_property (widget_class,
-                                           g_param_spec_int ("horizontal-padding",
-                                                             P_("Horizontal Padding"),
-                                                             P_("Extra space at the left and right edges of 
the menu"),
-                                                             0,
-                                                             G_MAXINT,
-                                                             0,
-                                                             GTK_PARAM_READABLE |
-                                                             G_PARAM_DEPRECATED));
-
-  /**
-   * GtkMenu:vertical-padding:
-   *
-   * Extra space at the top and bottom of the menu.
-   *
-   * Deprecated: 3.8: use the standard padding CSS property (through objects
-   *   like #GtkStyleContext and #GtkCssProvider); the value of this style
-   *   property is ignored.
-   */
-  gtk_widget_class_install_style_property (widget_class,
-                                           g_param_spec_int ("vertical-padding",
-                                                             P_("Vertical Padding"),
-                                                             P_("Extra space at the top and bottom of the 
menu"),
-                                                             0,
-                                                             G_MAXINT,
-                                                             1,
-                                                             GTK_PARAM_READABLE |
-                                                             G_PARAM_DEPRECATED));
-
   gtk_widget_class_install_style_property (widget_class,
                                            g_param_spec_int ("vertical-offset",
                                                              P_("Vertical Offset"),
@@ -879,37 +841,6 @@ gtk_menu_class_init (GtkMenuClass *class)
                                                              -2,
                                                              GTK_PARAM_READABLE));
 
-  /**
-   * GtkMenu:double-arrows:
-   *
-   * When %TRUE, both arrows are shown when scrolling.
-   *
-   * Deprecated: 3.20: the value of this style property is ignored.
-   **/
-  gtk_widget_class_install_style_property (widget_class,
-                                           g_param_spec_boolean ("double-arrows",
-                                                                 P_("Double Arrows"),
-                                                                 P_("When scrolling, always show both 
arrows."),
-                                                                 TRUE,
-                                                                 GTK_PARAM_READABLE|G_PARAM_DEPRECATED));
-
-  /**
-   * GtkMenu:arrow-placement:
-   *
-   * Indicates where scroll arrows should be placed.
-   *
-   * Since: 2.16
-   *
-   * Deprecated: 3.20: the value of this style property is ignored.
-   **/
-  gtk_widget_class_install_style_property (widget_class,
-                                           g_param_spec_enum ("arrow-placement",
-                                                              P_("Arrow Placement"),
-                                                              P_("Indicates where scroll arrows should be 
placed"),
-                                                              GTK_TYPE_ARROW_PLACEMENT,
-                                                              GTK_ARROWS_BOTH,
-                                                              GTK_PARAM_READABLE|G_PARAM_DEPRECATED));
-
  gtk_container_class_install_child_property (container_class,
                                              CHILD_PROP_LEFT_ATTACH,
                                               g_param_spec_int ("left-attach",
diff --git a/gtk/gtkmenubar.c b/gtk/gtkmenubar.c
index fcf687b..f6f771d 100644
--- a/gtk/gtkmenubar.c
+++ b/gtk/gtkmenubar.c
@@ -238,41 +238,6 @@ gtk_menu_bar_class_init (GtkMenuBarClass *class)
                                                       GTK_TYPE_PACK_DIRECTION,
                                                       GTK_PACK_DIRECTION_LTR,
                                                       GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
-  
-
-  /**
-   * GtkMenuBar:shadow-type:
-   *
-   * The style of the shadow around the menubar.
-   *
-   * Deprecated: 3.20: Use CSS to determine the shadow; the value of
-   *     this style property is ignored.
-   */
-  gtk_widget_class_install_style_property (widget_class,
-                                          g_param_spec_enum ("shadow-type",
-                                                              P_("Shadow type"),
-                                                              P_("Style of bevel around the menubar"),
-                                                              GTK_TYPE_SHADOW_TYPE,
-                                                              GTK_SHADOW_OUT,
-                                                              GTK_PARAM_READABLE|G_PARAM_DEPRECATED));
-
-  /**
-   * GtkMenuBar:internal-padding:
-   *
-   * Amount of border space between the menubar shadow and the menu items
-   *
-   * Deprecated: 3.8: use the standard padding CSS property (through objects
-   *   like #GtkStyleContext and #GtkCssProvider); the value of this style
-   *   property is ignored.
-   */
-  gtk_widget_class_install_style_property (widget_class,
-                                          g_param_spec_int ("internal-padding",
-                                                            P_("Internal padding"),
-                                                            P_("Amount of border space between the menubar 
shadow and the menu items"),
-                                                            0,
-                                                            G_MAXINT,
-                                                             0,
-                                                             GTK_PARAM_READABLE|G_PARAM_DEPRECATED));
 
   gtk_container_class_handle_border_width (container_class);
   gtk_widget_class_set_accessible_role (widget_class, ATK_ROLE_MENU_BAR);
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index 3b9ffc7..ea120d2 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -931,104 +931,6 @@ gtk_notebook_class_init (GtkNotebookClass *class)
                                                                  TRUE,
                                                                  GTK_PARAM_READABLE));
 
-/**
- * GtkNotebook:tab-overlap:
- *
- * The “tab-overlap” property defines size of tab overlap
- * area.
- *
- * Since: 2.10
- *
- * Deprecated: 3.20: This property is ignored. Use margins on tab nodes
- *     to achieve the same effect.
- */
-  gtk_widget_class_install_style_property (widget_class,
-                                           g_param_spec_int ("tab-overlap",
-                                                             P_("Tab overlap"),
-                                                             P_("Size of tab overlap area"),
-                                                             G_MININT,
-                                                             G_MAXINT,
-                                                             2,
-                                                             GTK_PARAM_READABLE | G_PARAM_DEPRECATED));
-
-/**
- * GtkNotebook:tab-curvature:
- *
- * The “tab-curvature” property defines size of tab curvature.
- *
- * Since: 2.10
- *
- * Deprecated: 3.20: This property is ignored. Use margins on tab nodes
- *     to achieve the same effect.
- */
-  gtk_widget_class_install_style_property (widget_class,
-                                           g_param_spec_int ("tab-curvature",
-                                                             P_("Tab curvature"),
-                                                             P_("Size of tab curvature"),
-                                                             0,
-                                                             G_MAXINT,
-                                                             1,
-                                                             GTK_PARAM_READABLE | G_PARAM_DEPRECATED));
-
-  /**
-   * GtkNotebook:arrow-spacing:
-   *
-   * The "arrow-spacing" property defines the spacing between the scroll
-   * arrows and the tabs.
-   *
-   * Since: 2.10
-   *
-   * Deprecated: 3.20: This property is ignored. Use margins on arrows or
-   *     the "tabs" node to achieve the same effect.
-   */
-  gtk_widget_class_install_style_property (widget_class,
-                                           g_param_spec_int ("arrow-spacing",
-                                                             P_("Arrow spacing"),
-                                                             P_("Scroll arrow spacing"),
-                                                             0,
-                                                             G_MAXINT,
-                                                             0,
-                                                             GTK_PARAM_READABLE | G_PARAM_DEPRECATED));
-
-  /**
-   * GtkNotebook:initial-gap:
-   *
-   * The "initial-gap" property defines the minimum size for the initial
-   * gap between the first tab.
-   *
-   * Since: 3.2
-   *
-   * Deprecated: 3.20: The intial gap is ignored. Use margins on the header node
-   *     to achieve the same effect.
-   */
-  gtk_widget_class_install_style_property (widget_class,
-                                           g_param_spec_int ("initial-gap",
-                                                             P_("Initial gap"),
-                                                             P_("Initial gap before the first tab"),
-                                                             0,
-                                                             G_MAXINT,
-                                                             0,
-                                                             GTK_PARAM_READABLE | G_PARAM_DEPRECATED));
-
-  /**
-   * GtkNotebook:has-tab-gap:
-   *
-   * The "has-tab-gap" property defines whether the active tab is draw
-   * with a gap at the bottom. When %TRUE the theme engine uses
-   * gtk_render_extension to draw the active tab. When %FALSE
-   * gtk_render_background and gtk_render_frame are used.
-   *
-   * Since: 3.12
-   *
-   * Deprecated: 3.20: This function always behaves as if it was set to %FALSE.
-   */
-  gtk_widget_class_install_style_property (widget_class,
-                                           g_param_spec_boolean ("has-tab-gap",
-                                                                 P_("Tab gap"),
-                                                                 P_("Active tab is drawn with a gap at the 
bottom"),
-                                                                 TRUE,
-                                                                 GTK_PARAM_READABLE | G_PARAM_DEPRECATED));
-
   /**
    * GtkNotebook::switch-page:
    * @notebook: the object which received the signal.
diff --git a/gtk/gtkscale.c b/gtk/gtkscale.c
index f14a29a..2ca2764 100644
--- a/gtk/gtkscale.c
+++ b/gtk/gtkscale.c
@@ -791,38 +791,6 @@ gtk_scale_class_init (GtkScaleClass *class)
 
   g_object_class_install_properties (gobject_class, LAST_PROP, properties);
 
-  /**
-   * GtkScale:slider-length:
-   *
-   * Length of scale's slider.
-   *
-   * Deprecated: 3.20: Use min-height/min-width CSS properties on the slider
-   *   element instead. The value of this style property is ignored.
-   */
-  gtk_widget_class_install_style_property (widget_class,
-                                           g_param_spec_int ("slider-length",
-                                                             P_("Slider Length"),
-                                                             P_("Length of scale's slider"),
-                                                             0, G_MAXINT, 31,
-                                                             GTK_PARAM_READABLE|G_PARAM_DEPRECATED));
-
-  /**
-   * GtkScale:value-spacing:
-   *
-   * Space between value text and the slider/trough area.
-   *
-   * Deprecated: 3.20: Use min-height/min-width CSS properties on the value
-   *   element instead. The value of this style property is ignored.
-   */
-  gtk_widget_class_install_style_property (widget_class,
-                                          g_param_spec_int ("value-spacing",
-                                                            P_("Value spacing"),
-                                                            P_("Space between value text and the 
slider/trough area"),
-                                                            0,
-                                                            G_MAXINT,
-                                                            2,
-                                                            GTK_PARAM_READABLE|G_PARAM_DEPRECATED));
-  
   /* All bindings (even arrow keys) are on both h/v scale, because
    * blind users etc. don't care about scale orientation.
    */
diff --git a/gtk/gtkstatusbar.c b/gtk/gtkstatusbar.c
index 5eeb039..eed2bcc 100644
--- a/gtk/gtkstatusbar.c
+++ b/gtk/gtkstatusbar.c
@@ -164,22 +164,6 @@ gtk_statusbar_class_init (GtkStatusbarClass *class)
                  G_TYPE_UINT,
                  G_TYPE_STRING);
 
-  /**
-   * GtkStatusbar:shadow-type:
-   *
-   * The style of the bevel around the statusbar text.
-   *
-   * Deprecated: 3.20: Use CSS properties to determine the appearance,
-   *    the value of this style property is ignored.
-   */
-  gtk_widget_class_install_style_property (widget_class,
-                                           g_param_spec_enum ("shadow-type",
-                                                              P_("Shadow type"),
-                                                              P_("Style of bevel around the statusbar text"),
-                                                              GTK_TYPE_SHADOW_TYPE,
-                                                              GTK_SHADOW_IN,
-                                                              GTK_PARAM_READABLE|G_PARAM_DEPRECATED));
-
   /* Bind class to template
    */
   gtk_widget_class_set_template_from_resource (widget_class, "/org/gtk/libgtk/ui/gtkstatusbar.ui");
diff --git a/gtk/gtktoolbar.c b/gtk/gtktoolbar.c
index 80efa51..71913da 100644
--- a/gtk/gtktoolbar.c
+++ b/gtk/gtktoolbar.c
@@ -593,41 +593,6 @@ gtk_toolbar_class_init (GtkToolbarClass *klass)
                                                                    P_("Whether the item should be the same 
size as other homogeneous items"),
                                                                    FALSE,
                                                                    GTK_PARAM_READWRITE));
-  
-  /**
-   * GtkToolbar:space-size:
-   *
-   * Size of toolbar spacers.
-   *
-   * Deprecated: 3.20: Use the standard margin/padding CSS properties on the
-   *   separator elements; the value of this style property is ignored.
-   */
-  gtk_widget_class_install_style_property (widget_class,
-                                          g_param_spec_int ("space-size",
-                                                            P_("Spacer size"),
-                                                            P_("Size of spacers"),
-                                                            0,
-                                                            G_MAXINT,
-                                                             DEFAULT_SPACE_SIZE,
-                                                            GTK_PARAM_READABLE|G_PARAM_DEPRECATED));
-  
-  /**
-   * GtkToolbar:internal-padding:
-   *
-   * Amount of border space between the toolbar shadow and the buttons.
-   *
-   * Deprecated: 3.6: Use the standard padding CSS property
-   *   (through objects like #GtkStyleContext and #GtkCssProvider); the value
-   *   of this style property is ignored.
-   */
-  gtk_widget_class_install_style_property (widget_class,
-                                          g_param_spec_int ("internal-padding",
-                                                            P_("Internal padding"),
-                                                            P_("Amount of border space between the toolbar 
shadow and the buttons"),
-                                                            0,
-                                                            G_MAXINT,
-                                                             0,
-                                                             GTK_PARAM_READABLE|G_PARAM_DEPRECATED));
 
   gtk_widget_class_install_style_property (widget_class,
                                            g_param_spec_int ("max-child-expand",
@@ -638,22 +603,6 @@ 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"),
-                                                             P_("Whether spacers are vertical lines or just 
blank"),
-                                                              GTK_TYPE_TOOLBAR_SPACE_STYLE,
-                                                              DEFAULT_SPACE_STYLE,
-                                                              GTK_PARAM_READABLE|G_PARAM_DEPRECATED));
-  
   gtk_widget_class_install_style_property (widget_class,
                                           g_param_spec_enum ("button-relief",
                                                              P_("Button relief"),
@@ -661,22 +610,6 @@ gtk_toolbar_class_init (GtkToolbarClass *klass)
                                                               GTK_TYPE_RELIEF_STYLE,
                                                               GTK_RELIEF_NONE,
                                                               GTK_PARAM_READABLE));
-  /**
-   * GtkToolbar:shadow-type:
-   *
-   * Style of bevel around the toolbar.
-   *
-   * Deprecated: 3.6: Use the standard border CSS property
-   *   (through objects like #GtkStyleContext and #GtkCssProvider); the value
-   *   of this style property is ignored.
-   */
-  gtk_widget_class_install_style_property (widget_class,
-                                           g_param_spec_enum ("shadow-type",
-                                                              P_("Shadow type"),
-                                                              P_("Style of bevel around the toolbar"),
-                                                              GTK_TYPE_SHADOW_TYPE,
-                                                              GTK_SHADOW_OUT,
-                                                              GTK_PARAM_READABLE|G_PARAM_DEPRECATED));
 
   binding_set = gtk_binding_set_by_class (klass);
   
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 69757a0..df8e06b 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -3284,36 +3284,6 @@ gtk_widget_class_init (GtkWidgetClass *klass)
                                                                  GTK_PARAM_READABLE));
 
 
-  /**
-   * GtkWidget:scroll-arrow-hlength:
-   *
-   * The "scroll-arrow-hlength" style property defines the length of
-   * horizontal scroll arrows.
-   *
-   * Since: 2.10
-   */
-  gtk_widget_class_install_style_property (klass,
-                                           g_param_spec_int ("scroll-arrow-hlength",
-                                                             P_("Horizontal Scroll Arrow Length"),
-                                                             P_("The length of horizontal scroll arrows"),
-                                                             1, G_MAXINT, 16,
-                                                             GTK_PARAM_READABLE));
-
-  /**
-   * GtkWidget:scroll-arrow-vlength:
-   *
-   * The "scroll-arrow-vlength" style property defines the length of
-   * vertical scroll arrows.
-   *
-   * Since: 2.10
-   */
-  gtk_widget_class_install_style_property (klass,
-                                           g_param_spec_int ("scroll-arrow-vlength",
-                                                             P_("Vertical Scroll Arrow Length"),
-                                                             P_("The length of vertical scroll arrows"),
-                                                             1, G_MAXINT, 16,
-                                                             GTK_PARAM_READABLE));
-
   gtk_widget_class_install_style_property (klass,
                                            g_param_spec_int ("text-handle-width",
                                                              P_("Width of text selection handles"),


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