diff options
author | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2009-01-31 01:35:26 +0800 |
---|---|---|
committer | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2009-01-31 01:35:26 +0800 |
commit | 3ae6be1523dcbe4a38664b88509512bfc1b222c6 (patch) | |
tree | b628507fe02640d8eb2ea1e1f251679f483ac9e0 | |
parent | cab0896317f7ddfe158082ddfc5ea5b7ddaa0892 (diff) | |
download | gsoc2013-empathy-3ae6be1523dcbe4a38664b88509512bfc1b222c6.tar gsoc2013-empathy-3ae6be1523dcbe4a38664b88509512bfc1b222c6.tar.gz gsoc2013-empathy-3ae6be1523dcbe4a38664b88509512bfc1b222c6.tar.bz2 gsoc2013-empathy-3ae6be1523dcbe4a38664b88509512bfc1b222c6.tar.lz gsoc2013-empathy-3ae6be1523dcbe4a38664b88509512bfc1b222c6.tar.xz gsoc2013-empathy-3ae6be1523dcbe4a38664b88509512bfc1b222c6.tar.zst gsoc2013-empathy-3ae6be1523dcbe4a38664b88509512bfc1b222c6.zip |
Use empathy_gtk_init.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@2352 4ee84921-47dd-4033-b63a-18d7a039a3e4
-rw-r--r-- | tests/empetit.c | 6 |
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)); |