app/gui/dialogs-constructors.c fixed warnings by casting/bracketting

2002-10-17  Michael Natterer  <mitch@gimp.org>

	* app/gui/dialogs-constructors.c
	* app/widgets/gimptoolbox.c: fixed warnings by casting/bracketting
	properly.
This commit is contained in:
Michael Natterer 2002-10-17 14:31:24 +00:00 committed by Michael Natterer
parent a75dfc5642
commit f2dbfa1291
4 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2002-10-17 Michael Natterer <mitch@gimp.org>
* app/gui/dialogs-constructors.c
* app/widgets/gimptoolbox.c: fixed warnings by casting/bracketting
properly.
2002-10-16 Maurits Rijk <lpeek.mrijk@consunet.nl>
* plug-ins/imagemap/imap_default_dialog.c (dialog_destroy): function

View file

@ -1153,7 +1153,7 @@ dialogs_tool_options_tool_changed (GimpContext *context,
GtkImage *image;
gchar *text;
if (image = g_object_get_data (G_OBJECT (label), "tool-icon"))
if ((image = g_object_get_data (G_OBJECT (label), "tool-icon")))
gtk_image_set_from_stock (image, tool_info->stock_id, image->icon_size);
text = g_strdup_printf (_("%s Options"), tool_info->blurb);

View file

@ -1153,7 +1153,7 @@ dialogs_tool_options_tool_changed (GimpContext *context,
GtkImage *image;
gchar *text;
if (image = g_object_get_data (G_OBJECT (label), "tool-icon"))
if ((image = g_object_get_data (G_OBJECT (label), "tool-icon")))
gtk_image_set_from_stock (image, tool_info->stock_id, image->icon_size);
text = g_strdup_printf (_("%s Options"), tool_info->blurb);

View file

@ -327,7 +327,7 @@ gimp_toolbox_style_set (GtkWidget *widget,
gtk_image_get_stock (image, &stock_id, NULL);
gtk_image_set_from_stock (image, stock_id, tool_icon_size);
gtk_button_set_relief (tool_button, relief);
gtk_button_set_relief (GTK_BUTTON (tool_button), relief);
}
}