]> git.0d.be Git - empathy.git/commitdiff
Make test load status presets
authorDavyd Madeley <davyd@madeley.id.au>
Wed, 22 Apr 2009 01:47:54 +0000 (09:47 +0800)
committerDavyd Madeley <davyd@madeley.id.au>
Wed, 22 Apr 2009 01:47:54 +0000 (09:47 +0800)
tests/test-empathy-presence-chooser.c

index 02991e859b46316212ced429e41abf6eec32ca64..12d35b4c623f90b4052bd24170f240be3b626fc2 100644 (file)
@@ -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);