Make the toolbar-style and toolbar-size settings work
This broke when moving the setting from gtktoolbar.c to gtksettings.c. Spotted by Christian Persch in bug 603271.
This commit is contained in:
@ -982,7 +982,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
|
|||||||
GTK_TYPE_TOOLBAR_STYLE,
|
GTK_TYPE_TOOLBAR_STYLE,
|
||||||
GTK_TOOLBAR_BOTH,
|
GTK_TOOLBAR_BOTH,
|
||||||
GTK_PARAM_READWRITE),
|
GTK_PARAM_READWRITE),
|
||||||
NULL);
|
gtk_rc_property_parse_enum);
|
||||||
g_assert (result == PROP_TOOLBAR_STYLE);
|
g_assert (result == PROP_TOOLBAR_STYLE);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -997,7 +997,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
|
|||||||
GTK_TYPE_ICON_SIZE,
|
GTK_TYPE_ICON_SIZE,
|
||||||
GTK_ICON_SIZE_LARGE_TOOLBAR,
|
GTK_ICON_SIZE_LARGE_TOOLBAR,
|
||||||
GTK_PARAM_READWRITE),
|
GTK_PARAM_READWRITE),
|
||||||
NULL);
|
gtk_rc_property_parse_enum);
|
||||||
g_assert (result == PROP_TOOLBAR_ICON_SIZE);
|
g_assert (result == PROP_TOOLBAR_ICON_SIZE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user