aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2009-01-31 01:35:26 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-31 01:35:26 +0800
commit45884a895b0967c144b6abc3e214bc325d8a2505 (patch)
treeb628507fe02640d8eb2ea1e1f251679f483ac9e0 /tests
parent0f6d734aef3d11b205282f4f278b472c4537a522 (diff)
downloadgsoc2013-empathy-45884a895b0967c144b6abc3e214bc325d8a2505.tar
gsoc2013-empathy-45884a895b0967c144b6abc3e214bc325d8a2505.tar.gz
gsoc2013-empathy-45884a895b0967c144b6abc3e214bc325d8a2505.tar.bz2
gsoc2013-empathy-45884a895b0967c144b6abc3e214bc325d8a2505.tar.lz
gsoc2013-empathy-45884a895b0967c144b6abc3e214bc325d8a2505.tar.xz
gsoc2013-empathy-45884a895b0967c144b6abc3e214bc325d8a2505.tar.zst
gsoc2013-empathy-45884a895b0967c144b6abc3e214bc325d8a2505.zip
Use empathy_gtk_init.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2352
Diffstat (limited to 'tests')
-rw-r--r--tests/empetit.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/empetit.c b/tests/empetit.c
index 14a813034..2c05fd089 100644
--- a/tests/empetit.c
+++ b/tests/empetit.c
@@ -5,6 +5,7 @@
#include <libempathy/empathy-contact-manager.h>
#include <libempathy/empathy-dispatcher.h>
+#include <libempathy-gtk/empathy-ui-utils.h>
#include <libempathy-gtk/empathy-contact-list-store.h>
#include <libempathy-gtk/empathy-contact-selector.h>
@@ -54,13 +55,10 @@ int main (int argc,
EmpathyContactManager *manager;
EmpathyContactListStore *store;
GtkWidget *vbox, *button, *selector;
- gchar *icon_path;
gtk_init (&argc, &argv);
- icon_path = g_build_path (G_DIR_SEPARATOR_S, PKGDATADIR, "icons", NULL);
- gtk_icon_theme_append_search_path (gtk_icon_theme_get_default (), icon_path);
- g_free (icon_path);
+ empathy_gtk_init ();
manager = empathy_contact_manager_dup_singleton ();
store = empathy_contact_list_store_new (EMPATHY_CONTACT_LIST (manager));