aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2002-06-04 21:05:00 +0800
committerChris Lahey <clahey@src.gnome.org>2002-06-04 21:05:00 +0800
commitb7f26419b3178309b0d5ad957f1be4727c7f362c (patch)
tree19f95fbc10eb7e780cbbda7bfa7bb73e2567c712 /addressbook/gui
parentb20133666331d13e9672f4c39ecac23b9058315f (diff)
downloadgsoc2013-evolution-b7f26419b3178309b0d5ad957f1be4727c7f362c.tar.gz
gsoc2013-evolution-b7f26419b3178309b0d5ad957f1be4727c7f362c.tar.zst
gsoc2013-evolution-b7f26419b3178309b0d5ad957f1be4727c7f362c.zip
Commented out this unused function.
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. svn path=/trunk/; revision=17105
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/component/select-names/e-select-names-completion.c2
-rw-r--r--addressbook/gui/component/select-names/e-select-names-manager.c6
2 files changed, 5 insertions, 3 deletions
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) */