diff options
author | Marco Barisione <marco.barisione@collabora.co.uk> | 2013-05-10 23:58:34 +0800 |
---|---|---|
committer | Marco Barisione <marco.barisione@collabora.co.uk> | 2013-08-20 18:03:06 +0800 |
commit | 7eae2e49e62834cfff13cc2ee10b37eaff38a6fb (patch) | |
tree | dd8ce7c22177cd14324b466c2841466c23816ff8 /libempathy-gtk/empathy-search-bar.c | |
parent | 6609b50bce338fdb3fe470f57727d30211c8d104 (diff) | |
download | gsoc2013-empathy-7eae2e49e62834cfff13cc2ee10b37eaff38a6fb.tar.gz gsoc2013-empathy-7eae2e49e62834cfff13cc2ee10b37eaff38a6fb.tar.zst gsoc2013-empathy-7eae2e49e62834cfff13cc2ee10b37eaff38a6fb.zip |
tpaw-utils: move EMP_STR_EMPTY to tp-aw and rename it
https://bugzilla.gnome.org/show_bug.cgi?id=699492
Diffstat (limited to 'libempathy-gtk/empathy-search-bar.c')
-rw-r--r-- | libempathy-gtk/empathy-search-bar.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-search-bar.c b/libempathy-gtk/empathy-search-bar.c index 1ffdc1dc4..3383b9a12 100644 --- a/libempathy-gtk/empathy-search-bar.c +++ b/libempathy-gtk/empathy-search-bar.c @@ -22,6 +22,7 @@ #include <glib/gi18n-lib.h> #include <tp-account-widgets/tpaw-builder.h> +#include <tp-account-widgets/tpaw-utils.h> #include "empathy-ui-utils.h" #include "empathy-utils.h" @@ -72,9 +73,9 @@ empathy_search_bar_update_buttons (EmpathySearchBar *self, &can_go_backward, &can_go_forward); gtk_widget_set_sensitive (priv->search_previous, - can_go_backward && !EMP_STR_EMPTY (search)); + can_go_backward && !TPAW_STR_EMPTY (search)); gtk_widget_set_sensitive (priv->search_next, - can_go_forward && !EMP_STR_EMPTY (search)); + can_go_forward && !TPAW_STR_EMPTY (search)); } static void @@ -158,7 +159,7 @@ empathy_search_bar_search (EmpathySearchBar *self, /* (don't) display the not found label */ gtk_widget_set_visible (priv->search_not_found, - !(found || EMP_STR_EMPTY (search))); + !(found || TPAW_STR_EMPTY (search))); /* update the buttons */ empathy_search_bar_update_buttons (self, search, match_case); |