change type of local "image" variable from GtkImage to GtkWidget to fix

2008-06-13  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkaction.c (gtk_action_set_short_label): change type of
	local "image" variable from GtkImage to GtkWidget to fix warning.


svn path=/trunk/; revision=20373
This commit is contained in:
Michael Natterer 2008-06-13 13:40:29 +00:00 committed by Michael Natterer
parent 6aaea97378
commit 00bdd1fcce
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2008-06-13 Michael Natterer <mitch@imendio.com>
* gtk/gtkaction.c (gtk_action_set_short_label): change type of
local "image" variable from GtkImage to GtkWidget to fix warning.
2008-06-13 Michael Natterer <mitch@imendio.com>
* gtk/gtkcombobox.c (gtk_combo_box_menu_position): cast menu's

View File

@ -1390,7 +1390,8 @@ gtk_action_set_short_label (GtkAction *action,
else if (GTK_IS_BUTTON (proxy) &&
!gtk_button_get_use_stock (GTK_BUTTON (proxy)))
{
GtkImage *image;
GtkWidget *image;
child = GTK_BIN (proxy)->child;
image = gtk_button_get_image (GTK_BUTTON (proxy));