aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-ui-utils.c
diff options
context:
space:
mode:
authorMarco Barisione <marco.barisione@collabora.co.uk>2013-05-09 20:44:04 +0800
committerMarco Barisione <marco.barisione@collabora.co.uk>2013-08-20 18:03:05 +0800
commit406dc1041ff2d0575e43bb0c320a072d29e4af79 (patch)
tree2d26b2a781a0c433b4444584c862c3b2f0b5ae72 /libempathy-gtk/empathy-ui-utils.c
parent740b695e21016ff7b568b069734b29e780b459e5 (diff)
downloadgsoc2013-empathy-406dc1041ff2d0575e43bb0c320a072d29e4af79.tar
gsoc2013-empathy-406dc1041ff2d0575e43bb0c320a072d29e4af79.tar.gz
gsoc2013-empathy-406dc1041ff2d0575e43bb0c320a072d29e4af79.tar.bz2
gsoc2013-empathy-406dc1041ff2d0575e43bb0c320a072d29e4af79.tar.lz
gsoc2013-empathy-406dc1041ff2d0575e43bb0c320a072d29e4af79.tar.xz
gsoc2013-empathy-406dc1041ff2d0575e43bb0c320a072d29e4af79.tar.zst
gsoc2013-empathy-406dc1041ff2d0575e43bb0c320a072d29e4af79.zip
live-search: move from Empathy to tp-account-widgets
https://bugzilla.gnome.org/show_bug.cgi?id=699492
Diffstat (limited to 'libempathy-gtk/empathy-ui-utils.c')
-rw-r--r--libempathy-gtk/empathy-ui-utils.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libempathy-gtk/empathy-ui-utils.c b/libempathy-gtk/empathy-ui-utils.c
index 86edb3b0a..ec868a39f 100644
--- a/libempathy-gtk/empathy-ui-utils.c
+++ b/libempathy-gtk/empathy-ui-utils.c
@@ -36,10 +36,10 @@
#include <gdk/gdkx.h>
#include <glib/gi18n-lib.h>
#include <gio/gdesktopappinfo.h>
+#include <tp-account-widgets/tpaw-live-search.h>
#include "empathy-ft-factory.h"
#include "empathy-images.h"
-#include "empathy-live-search.h"
#include "empathy-utils.h"
#define DEBUG_FLAG EMPATHY_DEBUG_OTHER
@@ -1406,7 +1406,7 @@ empathy_get_current_action_time (void)
return (tp_user_action_time_from_x11 (gtk_get_current_event_time ()));
}
-/* @words = empathy_live_search_strip_utf8_string (@text);
+/* @words = tpaw_live_search_strip_utf8_string (@text);
*
* User has to pass both so we don't have to compute @words ourself each time
* this function is called. */
@@ -1423,7 +1423,7 @@ empathy_individual_match_string (FolksIndividual *individual,
/* check alias name */
str = folks_alias_details_get_alias (FOLKS_ALIAS_DETAILS (individual));
- if (empathy_live_search_match_words (str, words))
+ if (tpaw_live_search_match_words (str, words))
return TRUE;
personas = folks_individual_get_personas (individual);
@@ -1454,7 +1454,7 @@ empathy_individual_match_string (FolksIndividual *individual,
if (p != NULL)
str = dup_str = g_strndup (str, p - str);
- visible = empathy_live_search_match_words (str, words);
+ visible = tpaw_live_search_match_words (str, words);
g_free (dup_str);
if (visible)
retval = TRUE;