[dconf/dbus1] dbus-1: initialise some variables



commit 5669d2b589241caf8620a1f9ebf6d950c6560cd6
Author: Ryan Lortie <desrt desrt ca>
Date:   Mon Jan 3 00:00:36 2011 -0500

    dbus-1: initialise some variables

 dbus-1/dconf-dbus-1.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/dbus-1/dconf-dbus-1.c b/dbus-1/dconf-dbus-1.c
index 2c779f9..6af332e 100644
--- a/dbus-1/dconf-dbus-1.c
+++ b/dbus-1/dconf-dbus-1.c
@@ -30,8 +30,6 @@ struct _DConfDBusClient
   DBusConnection *session_bus;
   DBusConnection *system_bus;
   GSList *watches;
-  guint session_filter;
-  guint system_filter;
   gint ref_count;
 
   Outstanding *outstanding;
@@ -663,6 +661,9 @@ dconf_dbus_client_new (const gchar    *profile,
   dcdbc->engine = dconf_engine_new (profile);
   dcdbc->system_bus = dbus_connection_ref (system);
   dcdbc->session_bus = dbus_connection_ref (session);
+  dcdbc->anti_expose_tag = NULL;
+  dcdbc->outstanding = NULL;
+  dcdbc->watches = NULL;
   dcdbc->ref_count = 1;
 
   dbus_connection_add_filter (system, dconf_dbus_client_filter, dcdbc, NULL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]