aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2003-03-19 00:55:27 +0800
committerJP Rosevear <jpr@src.gnome.org>2003-03-19 00:55:27 +0800
commit189c597d1541b19b9cf711a49481f310127322bf (patch)
treee896b27008ca9970045d41e517df6292d049a4ac /addressbook
parent251ffc55ad742452eb84a9796c85353db4178e61 (diff)
downloadgsoc2013-evolution-189c597d1541b19b9cf711a49481f310127322bf.tar.gz
gsoc2013-evolution-189c597d1541b19b9cf711a49481f310127322bf.tar.zst
gsoc2013-evolution-189c597d1541b19b9cf711a49481f310127322bf.zip
kill warning by sinking objects
2003-03-18 JP Rosevear <jpr@ximian.com> * conduit/address-conduit.c (addrconduit_load_configuration): kill warning by sinking objects svn path=/trunk/; revision=20338
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/conduit/address-conduit.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 21391c91d5..1d820c224e 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,8 @@
+2003-03-18 JP Rosevear <jpr@ximian.com>
+
+ * conduit/address-conduit.c (addrconduit_load_configuration): kill
+ warning by sinking objects
+
2003-03-18 Not Zed <NotZed@Ximian.com>
* gui/component/select-names/e-select-names.c (set_book,
diff --git a/addressbook/conduit/address-conduit.c b/addressbook/conduit/address-conduit.c
index 2f5c9e331a..b6165b4b2d 100644
--- a/addressbook/conduit/address-conduit.c
+++ b/addressbook/conduit/address-conduit.c
@@ -185,7 +185,11 @@ addrconduit_load_configuration (guint32 pilot_id)
c->pilot_id = pilot_id;
management = gnome_pilot_conduit_management_new ("e_address_conduit", GNOME_PILOT_CONDUIT_MGMT_ID);
+ gtk_object_ref (GTK_OBJECT (management));
+ gtk_object_sink (GTK_OBJECT (management));
config = gnome_pilot_conduit_config_new (management, pilot_id);
+ gtk_object_ref (GTK_OBJECT (config));
+ gtk_object_sink (GTK_OBJECT (config));
if (!gnome_pilot_conduit_config_is_enabled (config, &c->sync_type))
c->sync_type = GnomePilotConduitSyncTypeNotSet;
gtk_object_unref (GTK_OBJECT (config));