aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test-empathy-presence-chooser.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-empathy-presence-chooser.c')
-rw-r--r--tests/test-empathy-presence-chooser.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test-empathy-presence-chooser.c b/tests/test-empathy-presence-chooser.c
index 02991e859..12d35b4c6 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);