aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-log-window.c
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-04-26 17:20:09 +0800
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-06-09 19:34:55 +0800
commitab66619794d401c11ca30131bc4acbddaabe2db4 (patch)
tree44873232eb75747581dd835dbab54646d2fd194e /libempathy-gtk/empathy-log-window.c
parentd425a5037650360368a5c0da7358046b4e288097 (diff)
downloadgsoc2013-empathy-ab66619794d401c11ca30131bc4acbddaabe2db4.tar
gsoc2013-empathy-ab66619794d401c11ca30131bc4acbddaabe2db4.tar.gz
gsoc2013-empathy-ab66619794d401c11ca30131bc4acbddaabe2db4.tar.bz2
gsoc2013-empathy-ab66619794d401c11ca30131bc4acbddaabe2db4.tar.lz
gsoc2013-empathy-ab66619794d401c11ca30131bc4acbddaabe2db4.tar.xz
gsoc2013-empathy-ab66619794d401c11ca30131bc4acbddaabe2db4.tar.zst
gsoc2013-empathy-ab66619794d401c11ca30131bc4acbddaabe2db4.zip
Remove dead code
Diffstat (limited to 'libempathy-gtk/empathy-log-window.c')
-rw-r--r--libempathy-gtk/empathy-log-window.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/libempathy-gtk/empathy-log-window.c b/libempathy-gtk/empathy-log-window.c
index c7a81f38e..f773db4a1 100644
--- a/libempathy-gtk/empathy-log-window.c
+++ b/libempathy-gtk/empathy-log-window.c
@@ -1300,36 +1300,6 @@ log_manager_searched_new_cb (GObject *manager,
log_window);
}
-#if 0
-static gboolean
-search_results_filter_entities (GtkTreeModel *model,
- GtkTreeIter *iter,
- gpointer data)
-{
- TpAccount *account, *selected_account;
- gboolean visible = FALSE;
-
- if (log_window->hits == NULL)
- return TRUE;
-
- if (!log_window_get_selected (log_window, &selected_account,
- NULL, NULL, NULL, NULL))
-
- gtk_tree_model_get (model, iter,
- COL_WHO_ACCOUNT, &account,
- -1);
-
- if (selected_account == NULL ||
- account_equal (account, selected_account))
- visible = TRUE;
-
- g_object_unref (account);
- g_object_unref (selected_account);
-
- return visible;
-}
-#endif
-
static void
log_window_find_populate (EmpathyLogWindow *window,
const gchar *search_criteria)