empathy r1972 - in trunk: megaphone/src nothere/src tests



Author: xclaesse
Date: Fri Dec 12 15:49:41 2008
New Revision: 1972
URL: http://svn.gnome.org/viewvc/empathy?rev=1972&view=rev

Log:
Init empathy for megaphone, nothere and check-main.

Modified:
   trunk/megaphone/src/megaphone-applet.c
   trunk/nothere/src/nothere-applet.c
   trunk/tests/check-main.c

Modified: trunk/megaphone/src/megaphone-applet.c
==============================================================================
--- trunk/megaphone/src/megaphone-applet.c	(original)
+++ trunk/megaphone/src/megaphone-applet.c	Fri Dec 12 15:49:41 2008
@@ -103,6 +103,7 @@
 	object_class->finalize = megaphone_applet_finalize;
 
 	g_type_class_add_private (object_class, sizeof (MegaphoneAppletPriv));
+	empathy_gtk_init ();
 }
 
 static void

Modified: trunk/nothere/src/nothere-applet.c
==============================================================================
--- trunk/nothere/src/nothere-applet.c	(original)
+++ trunk/nothere/src/nothere-applet.c	Fri Dec 12 15:49:41 2008
@@ -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 @@
 {
 	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

Modified: trunk/tests/check-main.c
==============================================================================
--- trunk/tests/check-main.c	(original)
+++ trunk/tests/check-main.c	Fri Dec 12 15:49:41 2008
@@ -34,6 +34,7 @@
 
     check_helpers_init ();
     g_type_init ();
+    empathy_init ();
 
     s = make_libempathy_suite ();
     sr = srunner_create (s);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]