aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
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) */