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:

committed by
Michael Natterer

parent
6aaea97378
commit
00bdd1fcce
@ -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>
|
2008-06-13 Michael Natterer <mitch@imendio.com>
|
||||||
|
|
||||||
* gtk/gtkcombobox.c (gtk_combo_box_menu_position): cast menu's
|
* gtk/gtkcombobox.c (gtk_combo_box_menu_position): cast menu's
|
||||||
|
@ -1390,7 +1390,8 @@ gtk_action_set_short_label (GtkAction *action,
|
|||||||
else if (GTK_IS_BUTTON (proxy) &&
|
else if (GTK_IS_BUTTON (proxy) &&
|
||||||
!gtk_button_get_use_stock (GTK_BUTTON (proxy)))
|
!gtk_button_get_use_stock (GTK_BUTTON (proxy)))
|
||||||
{
|
{
|
||||||
GtkImage *image;
|
GtkWidget *image;
|
||||||
|
|
||||||
child = GTK_BIN (proxy)->child;
|
child = GTK_BIN (proxy)->child;
|
||||||
|
|
||||||
image = gtk_button_get_image (GTK_BUTTON (proxy));
|
image = gtk_button_get_image (GTK_BUTTON (proxy));
|
||||||
|
Reference in New Issue
Block a user