aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/ebook
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-04-11 08:21:08 +0800
committerChris Lahey <clahey@src.gnome.org>2000-04-11 08:21:08 +0800
commit5485ba72d9139b45de2b5dff8bc619c62250ecbf (patch)
treed49ff5f495dbeeaa23ba0c84e0a2741344cfbd6d /addressbook/backend/ebook
parent901f107f262e3c1913e15de2e5a5cd0521077587 (diff)
downloadgsoc2013-evolution-5485ba72d9139b45de2b5dff8bc619c62250ecbf.tar
gsoc2013-evolution-5485ba72d9139b45de2b5dff8bc619c62250ecbf.tar.gz
gsoc2013-evolution-5485ba72d9139b45de2b5dff8bc619c62250ecbf.tar.bz2
gsoc2013-evolution-5485ba72d9139b45de2b5dff8bc619c62250ecbf.tar.lz
gsoc2013-evolution-5485ba72d9139b45de2b5dff8bc619c62250ecbf.tar.xz
gsoc2013-evolution-5485ba72d9139b45de2b5dff8bc619c62250ecbf.tar.zst
gsoc2013-evolution-5485ba72d9139b45de2b5dff8bc619c62250ecbf.zip
Changed some incorrect gtk_object_refs and gtk_object_unrefs into
2000-04-10 Christopher James Lahey <clahey@helixcode.com> * addressbook/backend/ebook/e-book-view.c, addressbook/backend/ebook/e-book.c: Changed some incorrect gtk_object_refs and gtk_object_unrefs into bonobo_object_refs and bonobo_object_unrefs. * addressbook/backend/pas/pas-card-cursor.c: Changed a gtk_object_destroy to a gtk_object_unref. * addressbook/gui/minicard/e-minicard-view.c, addressbook/gui/minicard/e-minicard-view.h: Set a list pointer to NULL after freeing its contents. Added e_minicard_view_remove_selection function. * addressbook/gui/minicard/e-reflow.c: Set a list pointer to NULL after freeing its contents. svn path=/trunk/; revision=2386
Diffstat (limited to 'addressbook/backend/ebook')
-rw-r--r--addressbook/backend/ebook/e-book-view.c4
-rw-r--r--addressbook/backend/ebook/e-book.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/addressbook/backend/ebook/e-book-view.c b/addressbook/backend/ebook/e-book-view.c
index 2931a9347d..a0626ed0a2 100644
--- a/addressbook/backend/ebook/e-book-view.c
+++ b/addressbook/backend/ebook/e-book-view.c
@@ -141,7 +141,7 @@ e_book_view_construct (EBookView *book_view, Evolution_BookView corba_book_view,
*/
book_view->priv->listener = listener;
- gtk_object_ref(GTK_OBJECT(book_view->priv->listener));
+ bonobo_object_ref(BONOBO_OBJECT(book_view->priv->listener));
book_view->priv->responses_queued_id = gtk_signal_connect (GTK_OBJECT (book_view->priv->listener), "responses_queued",
e_book_view_check_listener_queue, book_view);
@@ -204,7 +204,7 @@ e_book_view_destroy (GtkObject *object)
if (book_view->priv->responses_queued_id)
gtk_signal_disconnect(GTK_OBJECT(book_view->priv->listener),
book_view->priv->responses_queued_id);
- gtk_object_unref (GTK_OBJECT(book_view->priv->listener));
+ bonobo_object_unref (BONOBO_OBJECT(book_view->priv->listener));
}
g_free (book_view->priv);
diff --git a/addressbook/backend/ebook/e-book.c b/addressbook/backend/ebook/e-book.c
index dd4c4bc110..5cdbb4fbb2 100644
--- a/addressbook/backend/ebook/e-book.c
+++ b/addressbook/backend/ebook/e-book.c
@@ -226,7 +226,7 @@ e_book_do_response_get_view (EBook *book,
CORBA_exception_free (&ev);
gtk_object_unref(GTK_OBJECT(book_view));
- gtk_object_unref(GTK_OBJECT(op->listener));
+ bonobo_object_unref(BONOBO_OBJECT(op->listener));
g_free (op);
}
@@ -410,7 +410,7 @@ e_book_unload_uri (EBook *book)
CORBA_exception_free (&ev);
- gtk_object_unref (GTK_OBJECT (book->priv->listener));
+ bonobo_object_unref (BONOBO_OBJECT (book->priv->listener));
book->priv->listener = NULL;
book->priv->load_state = URINotLoaded;