[gtk+] Make the toolbar-style and toolbar-size settings work
- From: Matthias Clasen <matthiasc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+] Make the toolbar-style and toolbar-size settings work
- Date: Sun, 29 Nov 2009 02:46:35 +0000 (UTC)
commit bbb4e4910bca120747630c794263f6dcca7beadb
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Nov 28 21:43:59 2009 -0500
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.
gtk/gtksettings.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index 9e36e83..9c744da 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -982,7 +982,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
GTK_TYPE_TOOLBAR_STYLE,
GTK_TOOLBAR_BOTH,
GTK_PARAM_READWRITE),
- NULL);
+ gtk_rc_property_parse_enum);
g_assert (result == PROP_TOOLBAR_STYLE);
/**
@@ -997,7 +997,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
GTK_TYPE_ICON_SIZE,
GTK_ICON_SIZE_LARGE_TOOLBAR,
GTK_PARAM_READWRITE),
- NULL);
+ gtk_rc_property_parse_enum);
g_assert (result == PROP_TOOLBAR_ICON_SIZE);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]