[empathy: 29/80] Remove dead code



commit ab66619794d401c11ca30131bc4acbddaabe2db4
Author: Emilio Pozuelo Monfort <emilio pozuelo collabora co uk>
Date:   Tue Apr 26 10:20:09 2011 +0100

    Remove dead code

 libempathy-gtk/empathy-log-window.c |   30 ------------------------------
 1 files changed, 0 insertions(+), 30 deletions(-)
---
diff --git a/libempathy-gtk/empathy-log-window.c b/libempathy-gtk/empathy-log-window.c
index c7a81f3..f773db4 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)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]