diff options
| author | Ted Gould <ted@gould.cx> | 2010-04-14 23:48:51 -0500 |
|---|---|---|
| committer | Ted Gould <ted@gould.cx> | 2010-04-14 23:48:51 -0500 |
| commit | 9931bb8eddce86cae0896285b19a5830079923b8 (patch) | |
| tree | 33cb6c6bb71c3dbf83a7900311c7770a178c957f /libdbusmenu-gtk/client.c | |
| parent | 5148e0fd0106c1012f19be45c4bf79b187ad4d96 (diff) | |
| download | libdbusmenu-9931bb8eddce86cae0896285b19a5830079923b8.tar.gz libdbusmenu-9931bb8eddce86cae0896285b19a5830079923b8.tar.bz2 libdbusmenu-9931bb8eddce86cae0896285b19a5830079923b8.zip | |
Using get_position_realized in the GTK layer to avoid realization races.
Diffstat (limited to 'libdbusmenu-gtk/client.c')
| -rw-r--r-- | libdbusmenu-gtk/client.c | 2 |
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; |
