toolbar: deprecate GtkToolbarSpaceStyle and space-style style property

This is completely unused already.
This commit is contained in:
Cosimo Cecchi 2015-12-29 17:33:08 -08:00
parent 48596090af
commit ea25985b67
2 changed files with 11 additions and 1 deletions

View File

@ -631,13 +631,21 @@ 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));
GTK_PARAM_READABLE|G_PARAM_DEPRECATED));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_enum ("button-relief",

View File

@ -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
{