aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDavyd Madeley <davyd@madeley.id.au>2009-04-22 09:47:54 +0800
committerDavyd Madeley <davyd@madeley.id.au>2009-04-22 09:47:54 +0800
commit3c4515dbcd345d83bc050103bdbf114c8f009922 (patch)
tree34ae24cd4dce4a9f82adf5864e392f75ff48b7c8 /tests
parenta69dcdd81fbece4173ce00c2c795af55f1f8dcf2 (diff)
downloadgsoc2013-empathy-3c4515dbcd345d83bc050103bdbf114c8f009922.tar
gsoc2013-empathy-3c4515dbcd345d83bc050103bdbf114c8f009922.tar.gz
gsoc2013-empathy-3c4515dbcd345d83bc050103bdbf114c8f009922.tar.bz2
gsoc2013-empathy-3c4515dbcd345d83bc050103bdbf114c8f009922.tar.lz
gsoc2013-empathy-3c4515dbcd345d83bc050103bdbf114c8f009922.tar.xz
gsoc2013-empathy-3c4515dbcd345d83bc050103bdbf114c8f009922.tar.zst
gsoc2013-empathy-3c4515dbcd345d83bc050103bdbf114c8f009922.zip
Make test load status presets
Diffstat (limited to 'tests')
-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);