aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-03-30 16:21:01 -0500
committerTed Gould <ted@gould.cx>2012-03-30 16:21:01 -0500
commit73537ff947c6800ac432e5e70b0a1ab18f6f0a88 (patch)
tree21c0cff6047d254290035834f9fab93b52df503e
parent8977e1ef7f5c2b7e98351ce942a4cac684f4ab05 (diff)
downloadlibdbusmenu-73537ff947c6800ac432e5e70b0a1ab18f6f0a88.tar.gz
libdbusmenu-73537ff947c6800ac432e5e70b0a1ab18f6f0a88.tar.bz2
libdbusmenu-73537ff947c6800ac432e5e70b0a1ab18f6f0a88.zip
Making sure to init our error
-rw-r--r--libdbusmenu-glib/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdbusmenu-glib/client.c b/libdbusmenu-glib/client.c
index 7a37438..7bcce31 100644
--- a/libdbusmenu-glib/client.c
+++ b/libdbusmenu-glib/client.c
@@ -1617,7 +1617,7 @@ event_group_cb (GObject * proxy, GAsyncResult * res, gpointer user_data)
{
GList * events = (GList *)user_data;
- GError * error;
+ GError * error = NULL;
GVariant * params;
params = g_dbus_proxy_call_finish(G_DBUS_PROXY(proxy), res, &error);