aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib/client.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-11-15 16:09:34 -0600
committerTed Gould <ted@gould.cx>2010-11-15 16:09:34 -0600
commit7fd7547baeb728c162de08b7278ebbbff81832d3 (patch)
treee64eda2cbb04fa1c798dc9b2e0a209ce18ae9ed2 /libdbusmenu-glib/client.c
parentc5ddb96e4b861edf0d0281942bea99d22296d077 (diff)
downloadlibdbusmenu-7fd7547baeb728c162de08b7278ebbbff81832d3.tar.gz
libdbusmenu-7fd7547baeb728c162de08b7278ebbbff81832d3.tar.bz2
libdbusmenu-7fd7547baeb728c162de08b7278ebbbff81832d3.zip
Dropping the name check, need to figure out another way to do this.
Diffstat (limited to 'libdbusmenu-glib/client.c')
-rw-r--r--libdbusmenu-glib/client.c24
1 files changed, 1 insertions, 23 deletions
diff --git a/libdbusmenu-glib/client.c b/libdbusmenu-glib/client.c
index f9584a9..563fbe0 100644
--- a/libdbusmenu-glib/client.c
+++ b/libdbusmenu-glib/client.c
@@ -801,25 +801,6 @@ dbus_owner_change (GDBusConnection * connection, const gchar * name, const gchar
return build_proxies(client);
}
-/* This is the response to see if the name has an owner. If
- it does, then we should build the proxies here. Race condition
- check. */
-static void
-name_owner_check (GDBusProxy *proxy, gboolean has_owner, GError *error, gpointer userdata)
-{
- if (error != NULL) {
- return;
- }
-
- if (!has_owner) {
- return;
- }
-
- DbusmenuClient * client = DBUSMENU_CLIENT(userdata);
- build_proxies(client);
- return;
-}
-
/* This function builds the DBus proxy which will look out for
the service coming up. */
static void
@@ -842,10 +823,7 @@ build_dbus_proxy (DbusmenuClient * client)
/* Now let's check to make sure we're not in some race
condition case. */
- org_freedesktop_DBus_name_has_owner_async(priv->dbusproxy,
- priv->dbus_name,
- name_owner_check,
- client);
+ /* TODO: Not sure how to check for names in GDBus */
return;
}