aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets/e-minicard-control.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-08-23 07:47:19 +0800
committerChris Lahey <clahey@src.gnome.org>2000-08-23 07:47:19 +0800
commit6b2a9a563f754366af99671e5df19fbc4c8c7ad8 (patch)
treea4acb5da8ef77dfe5e8d4fee6ff5b39aa16c498c /addressbook/gui/widgets/e-minicard-control.c
parentc1231cdf52524bfc75cfce86524e8427bbdee6f4 (diff)
downloadgsoc2013-evolution-6b2a9a563f754366af99671e5df19fbc4c8c7ad8.tar.gz
gsoc2013-evolution-6b2a9a563f754366af99671e5df19fbc4c8c7ad8.tar.zst
gsoc2013-evolution-6b2a9a563f754366af99671e5df19fbc4c8c7ad8.zip
Started adding a time zone field to ECard.
2000-08-22 Christopher James Lahey <clahey@helixcode.com> * backend/e-card.h: Started adding a time zone field to ECard. * gui/component/e-addressbook-model.c: Added e_table_model_pre_change where appropriate. * gui/minicard/e-minicard-control.c: Added a ref and unref pair. svn path=/trunk/; revision=4971
Diffstat (limited to 'addressbook/gui/widgets/e-minicard-control.c')
-rw-r--r--addressbook/gui/widgets/e-minicard-control.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/addressbook/gui/widgets/e-minicard-control.c b/addressbook/gui/widgets/e-minicard-control.c
index 7c1838b568..d6dd70656d 100644
--- a/addressbook/gui/widgets/e-minicard-control.c
+++ b/addressbook/gui/widgets/e-minicard-control.c
@@ -222,6 +222,7 @@ book_open_cb (EBook *book, EBookStatus status, gpointer closure)
{
ECard *card = closure;
e_book_add_card(book, card, NULL, NULL);
+ gtk_object_unref(GTK_OBJECT(card));
}
static void
@@ -249,6 +250,7 @@ save_in_addressbook(GtkWidget *button, EMinicardWidget *minicard)
gtk_object_get(GTK_OBJECT(minicard),
"card", &card,
NULL);
+ gtk_object_ref(GTK_OBJECT(card));
if (! e_book_load_uri (book, uri, book_open_cb, card)) {
printf ("error calling load_uri!\n");