diff options
author | Laurent Contzen <lcontzen@gmail.com> | 2012-08-04 20:38:25 +0800 |
---|---|---|
committer | Laurent Contzen <lcontzen@gmail.com> | 2012-08-06 17:02:19 +0800 |
commit | b3c361fdca7f6a0bb2a63e676cd0a5d488261127 (patch) | |
tree | b3a500a60b01bb7fb6ece7eb118a2a2669adbacb /tests | |
parent | 765db7cfd0a0aa7aea9f0f717a7762ad79e14ef9 (diff) | |
download | gsoc2013-empathy-b3c361fdca7f6a0bb2a63e676cd0a5d488261127.tar gsoc2013-empathy-b3c361fdca7f6a0bb2a63e676cd0a5d488261127.tar.gz gsoc2013-empathy-b3c361fdca7f6a0bb2a63e676cd0a5d488261127.tar.bz2 gsoc2013-empathy-b3c361fdca7f6a0bb2a63e676cd0a5d488261127.tar.lz gsoc2013-empathy-b3c361fdca7f6a0bb2a63e676cd0a5d488261127.tar.xz gsoc2013-empathy-b3c361fdca7f6a0bb2a63e676cd0a5d488261127.tar.zst gsoc2013-empathy-b3c361fdca7f6a0bb2a63e676cd0a5d488261127.zip |
Removed the manager from the view, relying only on the model
Diffstat (limited to 'tests')
-rw-r--r-- | tests/interactive/test-empathy-dual-roster-view.c | 3 | ||||
-rw-r--r-- | tests/interactive/test-empathy-roster-view.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/tests/interactive/test-empathy-dual-roster-view.c b/tests/interactive/test-empathy-dual-roster-view.c index eae4f82c1..50903c01f 100644 --- a/tests/interactive/test-empathy-dual-roster-view.c +++ b/tests/interactive/test-empathy-dual-roster-view.c @@ -78,8 +78,7 @@ create_view_box (EmpathyRosterModel *model, box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 8); - view = empathy_roster_view_new (empathy_individual_manager_dup_singleton (), - model); + view = empathy_roster_view_new (model); g_signal_connect (view, "individual-activated", G_CALLBACK (individual_activated_cb), NULL); diff --git a/tests/interactive/test-empathy-roster-view.c b/tests/interactive/test-empathy-roster-view.c index 6ab56c836..96137c395 100644 --- a/tests/interactive/test-empathy-roster-view.c +++ b/tests/interactive/test-empathy-roster-view.c @@ -110,7 +110,7 @@ main (int argc, mgr = empathy_individual_manager_dup_singleton (); model = EMPATHY_ROSTER_MODEL (empathy_roster_model_manager_new (mgr)); - view = empathy_roster_view_new (mgr, model); + view = empathy_roster_view_new (model); g_object_unref (model); g_signal_connect (view, "individual-activated", |