[empathy: 7/19] Make test load status presets



commit 3c4515dbcd345d83bc050103bdbf114c8f009922
Author: Davyd Madeley <davyd madeley id au>
Date:   Wed Apr 22 09:47:54 2009 +0800

    Make test load status presets
---
 tests/test-empathy-presence-chooser.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/tests/test-empathy-presence-chooser.c b/tests/test-empathy-presence-chooser.c
index 02991e8..12d35b4 100644
--- a/tests/test-empathy-presence-chooser.c
+++ b/tests/test-empathy-presence-chooser.c
@@ -24,6 +24,8 @@
 
 #include <gtk/gtk.h>
 
+#include <libempathy/empathy-status-presets.h>
+
 #include <libempathy-gtk/empathy-ui-utils.h>
 #include <libempathy-gtk/empathy-presence-chooser.h>
 
@@ -36,6 +38,8 @@ main (int argc, char **argv)
 	gtk_init (&argc, &argv);
 	empathy_gtk_init ();
 
+	empathy_status_presets_get_all ();
+
 	window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
 	chooser = empathy_presence_chooser_new ();
 	gtk_container_add (GTK_CONTAINER (window), chooser);



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