mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 12:02:32 +00:00
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:
parent
a75dfc5642
commit
f2dbfa1291
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue