From 45884a895b0967c144b6abc3e214bc325d8a2505 Mon Sep 17 00:00:00 2001 From: Jonny Lamb Date: Fri, 30 Jan 2009 17:35:26 +0000 Subject: Use empathy_gtk_init. Signed-off-by: Jonny Lamb svn path=/trunk/; revision=2352 --- tests/empetit.c | 6 ++---- 1 file 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 #include +#include #include #include @@ -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)); -- cgit v1.2.3