1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/deskutils/global-menu/files/patch-menuitem.c
Pav Lucistnik cacee09125 - Update to 0.7.10
PR:		ports/152678
Submitted by:	Ivan Klymenko <fidaj@ukr.net>
Approved by:	maintainer
2011-03-17 17:24:07 +00:00

12 lines
503 B
C

--- libserver/widgets/menuitem.c.orig 2010-11-29 16:07:02.000000000 +0200
+++ libserver/widgets/menuitem.c 2010-11-29 16:07:09.000000000 +0200
@@ -358,7 +358,7 @@
_tmp0_ = FALSE;
}
if (_tmp0_) {
- if (gtk_menu_item_get_submenu ((GtkMenuItem*) self) != GTK_MENU (self->_submenu_cache)) {
+ if (gtk_menu_item_get_submenu ((GtkMenuItem*) self) != (GtkWidget*) GTK_MENU (self->_submenu_cache)) {
gtk_menu_item_set_submenu ((GtkMenuItem*) self, (GtkMenu*) self->_submenu_cache);
}
} else {