aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimo.cecchi@collabora.co.uk>2009-07-22 20:15:01 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2009-07-30 06:13:08 +0800
commit4b6db27ff05428dda571c5e60bc7229a4dd91d5f (patch)
tree7bf9d862efab167c9f48e86a8ab90ab60e7dd380 /tests
parentb50b7039d3b52f33df94e5a3526d9f43a51401ad (diff)
downloadgsoc2013-empathy-4b6db27ff05428dda571c5e60bc7229a4dd91d5f.tar
gsoc2013-empathy-4b6db27ff05428dda571c5e60bc7229a4dd91d5f.tar.gz
gsoc2013-empathy-4b6db27ff05428dda571c5e60bc7229a4dd91d5f.tar.bz2
gsoc2013-empathy-4b6db27ff05428dda571c5e60bc7229a4dd91d5f.tar.lz
gsoc2013-empathy-4b6db27ff05428dda571c5e60bc7229a4dd91d5f.tar.xz
gsoc2013-empathy-4b6db27ff05428dda571c5e60bc7229a4dd91d5f.tar.zst
gsoc2013-empathy-4b6db27ff05428dda571c5e60bc7229a4dd91d5f.zip
Synchronize EmpathyProtocolChooser and EmpathyAccountsDialog
Synchronize the two objects with the help of EmpathyConnectionManagers, so that we can get a consistent list of the CMs when using the chooser.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-empathy-protocol-chooser.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test-empathy-protocol-chooser.c b/tests/test-empathy-protocol-chooser.c
index 07b1c70e1..90b1797a3 100644
--- a/tests/test-empathy-protocol-chooser.c
+++ b/tests/test-empathy-protocol-chooser.c
@@ -9,15 +9,15 @@ int
main (int argc,
char **argv)
{
- GtkWidget *window;
- GtkWidget *chooser;
+ GtkWidget *window, *c;
gtk_init (&argc, &argv);
empathy_gtk_init ();
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
- chooser = empathy_protocol_chooser_new ();
- gtk_container_add (GTK_CONTAINER (window), chooser);
+ c = empathy_protocol_chooser_new ();
+
+ gtk_container_add (GTK_CONTAINER (window), c);
/* gtk_window_set_default_size (GTK_WINDOW (window), 150, -1);*/
gtk_widget_show_all (window);