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-completion.c | 2 ++ addressbook/gui/component/select-names/e-select-names-manager.c | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'addressbook/gui') diff --git a/addressbook/gui/component/select-names/e-select-names-completion.c b/addressbook/gui/component/select-names/e-select-names-completion.c index 7b29cd2472..33981ba76b 100644 --- a/addressbook/gui/component/select-names/e-select-names-completion.c +++ b/addressbook/gui/component/select-names/e-select-names-completion.c @@ -1205,6 +1205,7 @@ check_capabilities (ESelectNamesCompletion *comp, EBook *book) g_free (cap); } +#if 0 static void e_select_names_completion_book_ready (EBook *book, EBookStatus status, ESelectNamesCompletion *comp) { @@ -1225,6 +1226,7 @@ e_select_names_completion_book_ready (EBook *book, EBookStatus status, ESelectNa gtk_object_unref (GTK_OBJECT (comp)); /* post-async unref */ } +#endif /* 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