summaryrefslogtreecommitdiff
path: root/gtk/gtkimagemenuitem.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-03-26 05:49:15 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-03-26 05:49:15 +0000
commit4c28ce0877e5749d9d930304397995535190a168 (patch)
tree53429d9310a84cc9825774d9ae6808a8963c6e30 /gtk/gtkimagemenuitem.c
parent6323876b413c591edb1779fd5897066d6a4983f5 (diff)
downloadgtk+-4c28ce0877e5749d9d930304397995535190a168.tar.gz
Use canonical names for g_object_notify() as well.
2005-03-26 Matthias Clasen <mclasen@redhat.com> * gtk/*.c: * gdk/gdkdisplaymanager.c: Use canonical names for g_object_notify() as well.
Diffstat (limited to 'gtk/gtkimagemenuitem.c')
-rw-r--r--gtk/gtkimagemenuitem.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkimagemenuitem.c b/gtk/gtkimagemenuitem.c
index f53114ddad..fc88fba8b5 100644
--- a/gtk/gtkimagemenuitem.c
+++ b/gtk/gtkimagemenuitem.c
@@ -222,7 +222,7 @@ gtk_image_menu_item_toggle_size_request (GtkMenuItem *menu_item,
{
guint toggle_spacing;
gtk_widget_style_get (GTK_WIDGET (menu_item),
- "toggle_spacing", &toggle_spacing,
+ "toggle-spacing", &toggle_spacing,
NULL);
*requisition = image_requisition.width + toggle_spacing;
@@ -283,8 +283,8 @@ gtk_image_menu_item_size_allocate (GtkWidget *widget,
guint horizontal_padding, toggle_spacing;
gtk_widget_style_get (widget,
- "horizontal_padding", &horizontal_padding,
- "toggle_spacing", &toggle_spacing,
+ "horizontal-padding", &horizontal_padding,
+ "toggle-spacing", &toggle_spacing,
NULL);
/* Man this is lame hardcoding action, but I can't
@@ -492,7 +492,7 @@ gtk_image_menu_item_set_image (GtkImageMenuItem *image_menu_item,
gtk_widget_set_parent (image, GTK_WIDGET (image_menu_item));
g_object_set (image,
"visible", show_image (image_menu_item),
- "no_show_all", TRUE,
+ "no-show-all", TRUE,
NULL);
g_object_notify (G_OBJECT (image_menu_item), "image");