diff options
author | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-04-26 17:20:09 +0800 |
---|---|---|
committer | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-04-26 17:20:09 +0800 |
commit | e303a599e315899e06d2546cec940f81d4cbe94b (patch) | |
tree | 08f1952bed36af4f32bce94280e854bc557374db | |
parent | d3850d97b423d384e7c73fba12565af272f2854c (diff) | |
download | gsoc2013-empathy-e303a599e315899e06d2546cec940f81d4cbe94b.tar gsoc2013-empathy-e303a599e315899e06d2546cec940f81d4cbe94b.tar.gz gsoc2013-empathy-e303a599e315899e06d2546cec940f81d4cbe94b.tar.bz2 gsoc2013-empathy-e303a599e315899e06d2546cec940f81d4cbe94b.tar.lz gsoc2013-empathy-e303a599e315899e06d2546cec940f81d4cbe94b.tar.xz gsoc2013-empathy-e303a599e315899e06d2546cec940f81d4cbe94b.tar.zst gsoc2013-empathy-e303a599e315899e06d2546cec940f81d4cbe94b.zip |
Remove dead code
-rw-r--r-- | 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 cda7b7cb7..274a497aa 100644 --- a/libempathy-gtk/empathy-log-window.c +++ b/libempathy-gtk/empathy-log-window.c @@ -1296,36 +1296,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) |