From 18b7d0d24a975d740000670329e01fa66216cad2 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Fri, 12 Dec 2008 15:49:41 +0000 Subject: Init empathy for megaphone, nothere and check-main. svn path=/trunk/; revision=1972 --- megaphone/src/megaphone-applet.c | 1 + nothere/src/nothere-applet.c | 4 ++-- tests/check-main.c | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/megaphone/src/megaphone-applet.c b/megaphone/src/megaphone-applet.c index f25777eb3..65bd4ef4b 100644 --- a/megaphone/src/megaphone-applet.c +++ b/megaphone/src/megaphone-applet.c @@ -103,6 +103,7 @@ megaphone_applet_class_init (MegaphoneAppletClass *class) object_class->finalize = megaphone_applet_finalize; g_type_class_add_private (object_class, sizeof (MegaphoneAppletPriv)); + empathy_gtk_init (); } static void diff --git a/nothere/src/nothere-applet.c b/nothere/src/nothere-applet.c index f2adb0b9f..243272e67 100644 --- a/nothere/src/nothere-applet.c +++ b/nothere/src/nothere-applet.c @@ -29,6 +29,7 @@ #include #include +#include #include "nothere-applet.h" @@ -54,8 +55,7 @@ nothere_applet_class_init (NotHereAppletClass *class) { GTK_OBJECT_CLASS (class)->destroy = nothere_applet_destroy; - gtk_icon_theme_append_search_path (gtk_icon_theme_get_default (), - PKGDATADIR G_DIR_SEPARATOR_S "icons"); + empathy_gtk_init (); } static gboolean diff --git a/tests/check-main.c b/tests/check-main.c index 886e1e570..270298b96 100644 --- a/tests/check-main.c +++ b/tests/check-main.c @@ -34,6 +34,7 @@ main (void) check_helpers_init (); g_type_init (); + empathy_init (); s = make_libempathy_suite (); sr = srunner_create (s); -- cgit v1.2.3