diff options
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/ChangeLog | 11 | ||||
-rw-r--r-- | addressbook/gui/component/select-names/e-select-names-completion.c | 2 | ||||
-rw-r--r-- | addressbook/gui/component/select-names/e-select-names-manager.c | 6 |
3 files changed, 16 insertions, 3 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 6342772dc7..80d5610387 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,5 +1,16 @@ 2002-06-04 Christopher James Lahey <clahey@ximian.com> + * 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. + +2002-06-04 Christopher James Lahey <clahey@ximian.com> + * gui/widgets/e-addressbook-view.c (init_collection): Set the title of our GalVIewCollection. 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) */ |