[Xfce4-commits] <midori:master> Use gtk_action_create_icon in sokoke_action_create_popup_menu_item
Christian Dywan
noreply at xfce.org
Mon Dec 3 00:42:01 CET 2012
Updating branch refs/heads/master
to 7567058e18b6ef58c667af33456ddd1d82b3033f (commit)
from 426fdf3edeee3aa66fc2b1ea02327f649ad4ba42 (commit)
commit 7567058e18b6ef58c667af33456ddd1d82b3033f
Author: Christian Dywan <christian at twotoasts.de>
Date: Mon Dec 3 00:39:14 2012 +0100
Use gtk_action_create_icon in sokoke_action_create_popup_menu_item
This should address gtk_icon_set_render_icon_pixbuf assertions.
midori/sokoke.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/midori/sokoke.c b/midori/sokoke.c
index fa936ba..299c04f 100644
--- a/midori/sokoke.c
+++ b/midori/sokoke.c
@@ -795,7 +795,7 @@ sokoke_action_create_popup_menu_item (GtkAction* action)
if (label)
{
menuitem = gtk_image_menu_item_new_with_mnemonic (label);
- icon = gtk_image_new_from_stock (stock_id, GTK_ICON_SIZE_MENU);
+ icon = gtk_action_create_icon (action, GTK_ICON_SIZE_MENU);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menuitem), icon);
}
else
More information about the Xfce4-commits
mailing list