aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-gtk/client.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-04-14 23:53:11 -0500
committerTed Gould <ted@gould.cx>2010-04-14 23:53:11 -0500
commit764876064692680897cbf76435085d67ed25436e (patch)
treecc2bc7008cedfc12c5cccf8af2b0e58a0092969b /libdbusmenu-gtk/client.c
parente1d826fcfb9bb619cf69e16f72616d8e396cc494 (diff)
parent9931bb8eddce86cae0896285b19a5830079923b8 (diff)
downloadlibdbusmenu-764876064692680897cbf76435085d67ed25436e.tar.gz
libdbusmenu-764876064692680897cbf76435085d67ed25436e.tar.bz2
libdbusmenu-764876064692680897cbf76435085d67ed25436e.zip
* Upstream Merge
* Changing GTK layer to look at position in realized children to avoid realization races.
Diffstat (limited to 'libdbusmenu-gtk/client.c')
-rw-r--r--libdbusmenu-gtk/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdbusmenu-gtk/client.c b/libdbusmenu-gtk/client.c
index 3de42fe..eabfa9b 100644
--- a/libdbusmenu-gtk/client.c
+++ b/libdbusmenu-gtk/client.c
@@ -308,7 +308,7 @@ dbusmenu_gtkclient_newitem_base (DbusmenuGtkClient * client, DbusmenuMenuitem *
/* Oh, we're a child, let's deal with that */
if (parent != NULL) {
- new_child(parent, item, dbusmenu_menuitem_get_position(item, parent), DBUSMENU_GTKCLIENT(client));
+ new_child(parent, item, dbusmenu_menuitem_get_position_realized(item, parent), DBUSMENU_GTKCLIENT(client));
}
return;