- Without this e would segv if I created a sticky window on a desktop other
then the first. Not sure if this is the correct fix or not, but it works. SVN revision: 14429
This commit is contained in:
parent
e117544270
commit
5d3d45ebc9
|
@ -377,7 +377,7 @@ e_menu_item_submenu_set(E_Menu_Item *mi, E_Menu *sub)
|
|||
E_OBJECT_CHECK(mi);
|
||||
E_OBJECT_TYPE_CHECK(mi, E_MENU_ITEM_TYPE);
|
||||
if (mi->submenu) e_object_unref(E_OBJECT(mi->submenu));
|
||||
e_object_ref(E_OBJECT(sub));
|
||||
if (sub) e_object_ref(E_OBJECT(sub));
|
||||
mi->submenu = sub;
|
||||
mi->changed = 1;
|
||||
mi->menu->changed = 1;
|
||||
|
|
Loading…
Reference in New Issue