From 73537ff947c6800ac432e5e70b0a1ab18f6f0a88 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Fri, 30 Mar 2012 16:21:01 -0500 Subject: Making sure to init our error --- libdbusmenu-glib/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdbusmenu-glib') 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); -- cgit v1.2.3