From b7f26419b3178309b0d5ad957f1be4727c7f362c Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Tue, 4 Jun 2002 13:05:00 +0000 Subject: Commented out this unused function. 2002-06-04 Christopher James Lahey * gui/component/select-names/e-select-names-completion.c (e_select_names_completion_book_ready): Commented out this unused function. * gui/component/select-names/e-select-names-manager.c (open_book_cb): Ref if we're keeping the book. Don't unref if we're not keeping the book. (clean_cb): Commented out this unused function. svn path=/trunk/; revision=17105 --- addressbook/gui/component/select-names/e-select-names-manager.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'addressbook/gui/component/select-names/e-select-names-manager.c') diff --git a/addressbook/gui/component/select-names/e-select-names-manager.c b/addressbook/gui/component/select-names/e-select-names-manager.c index 29de56cb1a..680196b58f 100644 --- a/addressbook/gui/component/select-names/e-select-names-manager.c +++ b/addressbook/gui/component/select-names/e-select-names-manager.c @@ -150,6 +150,7 @@ popup_cb (EEntry *eentry, GdkEventButton *ev, gint pos, gpointer user_data) e_select_names_popup (text_model, ev, pos); } +#if 0 static gboolean clean_cb (gpointer ptr) { @@ -159,6 +160,7 @@ clean_cb (gpointer ptr) entry->cleaning_tag = 0; return FALSE; } +#endif static gint focus_in_cb (GtkWidget *w, GdkEventFocus *ev, gpointer user_data) @@ -377,9 +379,7 @@ open_book_cb (EBook *book, EBookStatus status, ESelectNamesManager *manager) } manager->completion_books = g_list_append (manager->completion_books, book); - } - else { - gtk_object_unref (GTK_OBJECT (book)); + gtk_object_ref (GTK_OBJECT (book)); } gtk_object_unref (GTK_OBJECT (manager)); /* unref ourself (matches ref before the load_uri call below) */ -- cgit v1.2.3