aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-11-15 15:21:48 -0600
committerTed Gould <ted@gould.cx>2010-11-15 15:21:48 -0600
commit187694edd077b979c6e19c511b5227791c3cd3f6 (patch)
tree97fd38faabab1e2f2c25479cd8c42521dbe4db12
parente911ad73aadd6cb2cb58771a750df1e600613c08 (diff)
downloadlibdbusmenu-187694edd077b979c6e19c511b5227791c3cd3f6.tar.gz
libdbusmenu-187694edd077b979c6e19c511b5227791c3cd3f6.tar.bz2
libdbusmenu-187694edd077b979c6e19c511b5227791c3cd3f6.zip
A couple of clean ups from the compiler
-rw-r--r--libdbusmenu-glib/client.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libdbusmenu-glib/client.c b/libdbusmenu-glib/client.c
index 51113f0..2027e7a 100644
--- a/libdbusmenu-glib/client.c
+++ b/libdbusmenu-glib/client.c
@@ -318,7 +318,6 @@ dbusmenu_client_init (DbusmenuClient *self)
static void
dbusmenu_client_dispose (GObject *object)
{
- DbusmenuClient * client = DBUSMENU_CLIENT(object);
DbusmenuClientPrivate * priv = DBUSMENU_CLIENT_GET_PRIVATE(object);
if (priv->delayed_idle != 0) {
@@ -665,7 +664,7 @@ get_properties_globber (DbusmenuClient * client, gint id, const gchar ** propert
g_warning("Asking for properties from same ID twice: %d", id);
GError * localerror = NULL;
g_set_error_literal(&localerror, error_domain(), 0, "ID already queued");
- callback(priv->menuproxy, NULL, localerror, user_data);
+ callback(NULL, localerror, user_data);
g_error_free(localerror);
return;
}