aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2001-08-08 07:10:29 +0800
committerPeter Williams <peterw@src.gnome.org>2001-08-08 07:10:29 +0800
commit8099103dbdf39c21ba0de4c247971cd543494c80 (patch)
treedb1b97c7c507c2deab7ae1f9f558cf6ad900218f
parentcef950fa6365686b0bbaf4d3a2f5d76642e52c1d (diff)
downloadgsoc2013-evolution-8099103dbdf39c21ba0de4c247971cd543494c80.tar
gsoc2013-evolution-8099103dbdf39c21ba0de4c247971cd543494c80.tar.gz
gsoc2013-evolution-8099103dbdf39c21ba0de4c247971cd543494c80.tar.bz2
gsoc2013-evolution-8099103dbdf39c21ba0de4c247971cd543494c80.tar.lz
gsoc2013-evolution-8099103dbdf39c21ba0de4c247971cd543494c80.tar.xz
gsoc2013-evolution-8099103dbdf39c21ba0de4c247971cd543494c80.tar.zst
gsoc2013-evolution-8099103dbdf39c21ba0de4c247971cd543494c80.zip
Use bonobo_object_unref on the storage since it's a bonobo object.
2001-08-07 Peter Williams <peterw@ximian.com> * mail-callbacks.c (folder_created): Use bonobo_object_unref on the storage since it's a bonobo object. (mail_storage_create_folder): Same. (folder_deleted): Same. svn path=/trunk/; revision=11749
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-callbacks.c8
2 files changed, 9 insertions, 4 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index d67632a7b0..2ce5672e61 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,10 @@
2001-08-07 Peter Williams <peterw@ximian.com>
+ * mail-callbacks.c (folder_created): Use bonobo_object_unref on the storage
+ since it's a bonobo object.
+ (mail_storage_create_folder): Same.
+ (folder_deleted): Same.
+
* subscribe-dialog.c (fe_destroy): Unref the e_storage since lookup_store
gives us a ref.
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index b140f5197f..e4f9e322dd 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -1889,7 +1889,7 @@ print_preview_msg (GtkWidget *button, gpointer user_data)
/******************** Begin Subscription Dialog ***************************/
-static GtkWidget *subscribe_dialog = NULL;
+static GtkObject *subscribe_dialog = NULL;
static void
subscribe_dialog_destroy (GtkWidget *widget, gpointer user_data)
@@ -2086,7 +2086,7 @@ folder_created (CamelStore *store, const char *prefix, CamelFolderInfo *fi)
if ((storage = mail_lookup_storage (store))) {
create_folders (storage, prefix, fi);
- gtk_object_unref (GTK_OBJECT (storage));
+ bonobo_object_unref (BONOBO_OBJECT (storage));
}
}
@@ -2105,7 +2105,7 @@ mail_storage_create_folder (EvolutionStorage *storage, CamelStore *store, CamelF
create_folders (storage, "", fi);
if (unref)
- gtk_object_unref (GTK_OBJECT (storage));
+ bonobo_object_unref (BONOBO_OBJECT (storage));
}
}
@@ -2134,6 +2134,6 @@ folder_deleted (CamelStore *store, CamelFolderInfo *fi)
if (fi)
delete_folders (storage, fi);
- gtk_object_unref (GTK_OBJECT (storage));
+ bonobo_object_unref (BONOBO_OBJECT (storage));
}
}