small cleanup.

2008-05-11  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpaction.c (gimp_action_set_proxy): small cleanup.


svn path=/trunk/; revision=25634
This commit is contained in:
Michael Natterer 2008-05-11 08:55:13 +00:00 committed by Michael Natterer
parent 7d25d6e6bc
commit a0e6800c0d
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2008-05-11 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpaction.c (gimp_action_set_proxy): small cleanup.
2008-05-11 Michael Natterer <mitch@gimp.org>
* app/actions/windows-commands.[ch]

View File

@ -366,7 +366,7 @@ gimp_action_set_proxy (GimpAction *action,
image = gtk_image_menu_item_get_image (GTK_IMAGE_MENU_ITEM (proxy));
if (image && (GIMP_IS_VIEW (image) || GIMP_IS_COLOR_AREA (image)))
if (GIMP_IS_VIEW (image) || GIMP_IS_COLOR_AREA (image))
{
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (proxy), NULL);
g_object_notify (G_OBJECT (action), "stock-id");