diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-03-26 05:49:15 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-03-26 05:49:15 +0000 |
commit | 4c28ce0877e5749d9d930304397995535190a168 (patch) | |
tree | 53429d9310a84cc9825774d9ae6808a8963c6e30 /gtk/gtkimage.c | |
parent | 6323876b413c591edb1779fd5897066d6a4983f5 (diff) | |
download | gtk+-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/gtkimage.c')
-rw-r--r-- | gtk/gtkimage.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/gtk/gtkimage.c b/gtk/gtkimage.c index 70f926149a..719c02b004 100644 --- a/gtk/gtkimage.c +++ b/gtk/gtkimage.c @@ -950,7 +950,7 @@ gtk_image_set_from_stock (GtkImage *image, } g_object_notify (G_OBJECT (image), "stock"); - g_object_notify (G_OBJECT (image), "icon_size"); + g_object_notify (G_OBJECT (image), "icon-size"); g_object_thaw_notify (G_OBJECT (image)); } @@ -990,8 +990,8 @@ gtk_image_set_from_icon_set (GtkImage *image, */ } - g_object_notify (G_OBJECT (image), "icon_set"); - g_object_notify (G_OBJECT (image), "icon_size"); + g_object_notify (G_OBJECT (image), "icon-set"); + g_object_notify (G_OBJECT (image), "icon-size"); g_object_thaw_notify (G_OBJECT (image)); } @@ -1032,7 +1032,7 @@ gtk_image_set_from_animation (GtkImage *image, gdk_pixbuf_animation_get_height (animation)); } - g_object_notify (G_OBJECT (image), "pixbuf_animation"); + g_object_notify (G_OBJECT (image), "pixbuf-animation"); g_object_thaw_notify (G_OBJECT (image)); } @@ -1076,8 +1076,8 @@ gtk_image_set_from_icon_name (GtkImage *image, */ } - g_object_notify (G_OBJECT (image), "icon_name"); - g_object_notify (G_OBJECT (image), "icon_size"); + g_object_notify (G_OBJECT (image), "icon-name"); + g_object_notify (G_OBJECT (image), "icon-size"); g_object_thaw_notify (G_OBJECT (image)); } @@ -1839,7 +1839,7 @@ gtk_image_clear (GtkImage *image) g_object_freeze_notify (G_OBJECT (image)); if (image->storage_type != GTK_IMAGE_EMPTY) - g_object_notify (G_OBJECT (image), "storage_type"); + g_object_notify (G_OBJECT (image), "storage-type"); if (image->mask) { @@ -1851,7 +1851,7 @@ gtk_image_clear (GtkImage *image) if (image->icon_size != DEFAULT_ICON_SIZE) { image->icon_size = DEFAULT_ICON_SIZE; - g_object_notify (G_OBJECT (image), "icon_size"); + g_object_notify (G_OBJECT (image), "icon-size"); } switch (image->storage_type) @@ -1899,7 +1899,7 @@ gtk_image_clear (GtkImage *image) gtk_icon_set_unref (image->data.icon_set.icon_set); image->data.icon_set.icon_set = NULL; - g_object_notify (G_OBJECT (image), "icon_set"); + g_object_notify (G_OBJECT (image), "icon-set"); break; case GTK_IMAGE_ANIMATION: @@ -1909,7 +1909,7 @@ gtk_image_clear (GtkImage *image) g_object_unref (image->data.anim.anim); image->data.anim.anim = NULL; - g_object_notify (G_OBJECT (image), "pixbuf_animation"); + g_object_notify (G_OBJECT (image), "pixbuf-animation"); break; @@ -1921,7 +1921,7 @@ gtk_image_clear (GtkImage *image) g_object_unref (image->data.name.pixbuf); image->data.name.pixbuf = NULL; - g_object_notify (G_OBJECT (image), "icon_name"); + g_object_notify (G_OBJECT (image), "icon-name"); break; |