summaryrefslogtreecommitdiff
path: root/tp-account-widgets/tpaw-irc-network-chooser-dialog.c
diff options
context:
space:
mode:
authorMarco Barisione <marco.barisione@collabora.co.uk>2013-05-09 13:44:04 +0100
committerMarco Barisione <marco.barisione@collabora.co.uk>2013-08-20 11:03:05 +0100
commit406dc1041ff2d0575e43bb0c320a072d29e4af79 (patch)
tree2d26b2a781a0c433b4444584c862c3b2f0b5ae72 /tp-account-widgets/tpaw-irc-network-chooser-dialog.c
parent740b695e21016ff7b568b069734b29e780b459e5 (diff)
downloadtelepathy-account-widgets-406dc1041ff2d0575e43bb0c320a072d29e4af79.tar.gz
live-search: move from Empathy to tp-account-widgets
https://bugzilla.gnome.org/show_bug.cgi?id=699492
Diffstat (limited to 'tp-account-widgets/tpaw-irc-network-chooser-dialog.c')
-rw-r--r--tp-account-widgets/tpaw-irc-network-chooser-dialog.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tp-account-widgets/tpaw-irc-network-chooser-dialog.c b/tp-account-widgets/tpaw-irc-network-chooser-dialog.c
index c7995a56..daf35a0f 100644
--- a/tp-account-widgets/tpaw-irc-network-chooser-dialog.c
+++ b/tp-account-widgets/tpaw-irc-network-chooser-dialog.c
@@ -26,7 +26,7 @@
#include "tpaw-irc-network-dialog.h"
#include "tpaw-irc-network-manager.h"
-#include "empathy-live-search.h"
+#include "tpaw-live-search.h"
#include "empathy-utils.h"
#define DEBUG_FLAG EMPATHY_DEBUG_ACCOUNT | EMPATHY_DEBUG_IRC
@@ -436,7 +436,7 @@ filter_visible_func (GtkTreeModel *model,
gtk_tree_model_get (model, iter, COL_NETWORK_OBJ, &network, -1);
- visible = empathy_live_search_match (EMPATHY_LIVE_SEARCH (priv->search),
+ visible = tpaw_live_search_match (TPAW_LIVE_SEARCH (priv->search),
tpaw_irc_network_get_name (network));
g_object_unref (network);
@@ -452,7 +452,7 @@ search_activate_cb (GtkWidget *search,
}
static void
-search_text_notify_cb (EmpathyLiveSearch *search,
+search_text_notify_cb (TpawLiveSearch *search,
GParamSpec *pspec,
TpawIrcNetworkChooserDialog *self)
{
@@ -468,7 +468,7 @@ search_text_notify_cb (EmpathyLiveSearch *search,
{
const gchar *text;
- text = empathy_live_search_get_text (EMPATHY_LIVE_SEARCH (priv->search));
+ text = tpaw_live_search_get_text (TPAW_LIVE_SEARCH (priv->search));
if (!EMP_STR_EMPTY (text))
{
/* We are doing a search, select the first matching network */
@@ -592,7 +592,7 @@ tpaw_irc_network_chooser_dialog_constructed (GObject *object)
gtk_style_context_set_junction_sides (context, GTK_JUNCTION_TOP);
/* Live search */
- priv->search = empathy_live_search_new (priv->treeview);
+ priv->search = tpaw_live_search_new (priv->treeview);
gtk_box_pack_start (GTK_BOX (vbox), priv->search, FALSE, TRUE, 0);
@@ -653,7 +653,7 @@ tpaw_irc_network_chooser_dialog_dispose (GObject *object)
if (priv->search != NULL)
{
- empathy_live_search_set_hook_widget (EMPATHY_LIVE_SEARCH (priv->search),
+ tpaw_live_search_set_hook_widget (TPAW_LIVE_SEARCH (priv->search),
NULL);
priv->search = NULL;