diff options
author | Ted Gould <ted@gould.cx> | 2010-04-14 23:41:32 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-04-14 23:41:32 -0500 |
commit | 914b2a38181afb26ed2c8e1254c5bdb562f9e9df (patch) | |
tree | f313af047b6d6243fd9dc02ebeb3036b9ed8d4b9 /libdbusmenu-glib | |
parent | a2170ac67ad0f5065922108479ccce3338e777d8 (diff) | |
download | libdbusmenu-914b2a38181afb26ed2c8e1254c5bdb562f9e9df.tar.gz libdbusmenu-914b2a38181afb26ed2c8e1254c5bdb562f9e9df.tar.bz2 libdbusmenu-914b2a38181afb26ed2c8e1254c5bdb562f9e9df.zip |
Use the set realized function in the client.
Diffstat (limited to 'libdbusmenu-glib')
-rw-r--r-- | libdbusmenu-glib/client.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libdbusmenu-glib/client.c b/libdbusmenu-glib/client.c index 3ce0ccb..d61b1ae 100644 --- a/libdbusmenu-glib/client.c +++ b/libdbusmenu-glib/client.c @@ -35,6 +35,7 @@ License version 3 and version 2.1 along with this program. If not, see #include "client.h" #include "menuitem.h" +#include "menuitem-private.h" #include "client-menuitem.h" #include "dbusmenu-client.h" #include "server-marshal.h" @@ -645,7 +646,7 @@ menuitem_get_properties_new_cb (DBusGProxy * proxy, GHashTable * properties, GEr #ifdef MASSIVEDEBUGGING g_debug("Client has realized a menuitem: %d", dbusmenu_menuitem_get_id(propdata->item)); #endif - g_signal_emit(G_OBJECT(propdata->item), DBUSMENU_MENUITEM_SIGNAL_REALIZED_ID, 0, TRUE); + dbusmenu_menuitem_set_realized(propdata->item); if (!handled) { g_signal_emit(G_OBJECT(propdata->client), signals[NEW_MENUITEM], 0, propdata->item, TRUE); |