aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-12-12 23:49:41 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-12-12 23:49:41 +0800
commit18b7d0d24a975d740000670329e01fa66216cad2 (patch)
tree29f6e6015bfb3bb8e74a4f5530e9b571895e2c1b
parentcbedf400e93dd3526607df4aedd3e623a54199d3 (diff)
downloadgsoc2013-empathy-18b7d0d24a975d740000670329e01fa66216cad2.tar
gsoc2013-empathy-18b7d0d24a975d740000670329e01fa66216cad2.tar.gz
gsoc2013-empathy-18b7d0d24a975d740000670329e01fa66216cad2.tar.bz2
gsoc2013-empathy-18b7d0d24a975d740000670329e01fa66216cad2.tar.lz
gsoc2013-empathy-18b7d0d24a975d740000670329e01fa66216cad2.tar.xz
gsoc2013-empathy-18b7d0d24a975d740000670329e01fa66216cad2.tar.zst
gsoc2013-empathy-18b7d0d24a975d740000670329e01fa66216cad2.zip
Init empathy for megaphone, nothere and check-main.
svn path=/trunk/; revision=1972
-rw-r--r--megaphone/src/megaphone-applet.c1
-rw-r--r--nothere/src/nothere-applet.c4
-rw-r--r--tests/check-main.c1
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);