summaryrefslogtreecommitdiff
path: root/gtk/gtkimagemenuitem.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@linux.intel.com>2010-10-19 11:47:40 +0100
committerEmmanuele Bassi <ebassi@linux.intel.com>2010-10-20 10:34:25 +0100
commit9f9edb662eb0f282e98f988b1658972303390036 (patch)
treeaa1765d7819d9a64858656b9864301e678c8d4ea /gtk/gtkimagemenuitem.c
parent9f035742e35b70a852545c526212f9e761b89a28 (diff)
downloadgtk+-9f9edb662eb0f282e98f988b1658972303390036.tar.gz
settings: Move setting property registration in gtksettings.c
Some GtkSettings property are registered by other classes. This leads to the "interesting" issue that setting GtkSettings:gtk-button-images requires that the GtkButton class is referenced first - or that a GtkButton is created. https://bugzilla.gnome.org/show_bug.cgi?id=632538
Diffstat (limited to 'gtk/gtkimagemenuitem.c')
-rw-r--r--gtk/gtkimagemenuitem.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/gtk/gtkimagemenuitem.c b/gtk/gtkimagemenuitem.c
index 16d8ddca42..e39c3c10d8 100644
--- a/gtk/gtkimagemenuitem.c
+++ b/gtk/gtkimagemenuitem.c
@@ -189,13 +189,7 @@ gtk_image_menu_item_class_init (GtkImageMenuItemClass *klass)
GTK_TYPE_ACCEL_GROUP,
GTK_PARAM_WRITABLE));
- gtk_settings_install_property (g_param_spec_boolean ("gtk-menu-images",
- P_("Show menu images"),
- P_("Whether images should be shown in menus"),
- TRUE,
- GTK_PARAM_READWRITE));
-
- g_type_class_add_private (klass, sizeof (GtkImageMenuItemPrivate));
+ g_type_class_add_private (klass, sizeof (GtkImageMenuItemPrivate));
}
static void