diff options
-rw-r--r-- | megaphone/src/megaphone-applet.c | 1 | ||||
-rw-r--r-- | nothere/src/nothere-applet.c | 4 | ||||
-rw-r--r-- | 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 <libmissioncontrol/mission-control.h> #include <libempathy-gtk/empathy-presence-chooser.h> +#include <libempathy-gtk/empathy-ui-utils.h> #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); |