summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGarrett Regier <garrettregier@gmail.com>2014-09-08 23:42:53 -0700
committerGarrett Regier <garrettregier@gmail.com>2014-12-20 09:09:59 -0800
commita63569f85338b49132894409d2f385639bf596a5 (patch)
tree5436dfe94fa722c852344242df896bf31128c3d1 /tests
parent45a29be0178f53b4c528ea8198d2e6f107a28d46 (diff)
downloadlibpeas-a63569f85338b49132894409d2f385639bf596a5.tar.gz
Removing window group handling from the plugin manager test
This is no longer required!
Diffstat (limited to 'tests')
-rw-r--r--tests/libpeas-gtk/plugin-manager.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/libpeas-gtk/plugin-manager.c b/tests/libpeas-gtk/plugin-manager.c
index 524b369..316f2fe 100644
--- a/tests/libpeas-gtk/plugin-manager.c
+++ b/tests/libpeas-gtk/plugin-manager.c
@@ -36,7 +36,6 @@ typedef struct _TestFixture TestFixture;
struct _TestFixture {
PeasEngine *engine;
GtkWidget *window;
- GtkWindowGroup *window_group;
PeasGtkPluginManager *manager;
PeasGtkPluginManagerView *view;
GtkTreeSelection *selection;
@@ -59,18 +58,10 @@ test_setup (TestFixture *fixture,
{
fixture->engine = testing_engine_new ();
fixture->window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
- fixture->window_group = gtk_window_group_new ();
fixture->manager = PEAS_GTK_PLUGIN_MANAGER (peas_gtk_plugin_manager_new (NULL));
fixture->view = PEAS_GTK_PLUGIN_MANAGER_VIEW (peas_gtk_plugin_manager_get_view (fixture->manager));
fixture->selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (fixture->view));
- /* gtk_window_set_transient_for() will not add to the
- * window group unless one has already been created and
- * find_window_by_title() will need need it to be in the group
- */
- gtk_window_group_add_window (fixture->window_group,
- GTK_WINDOW (fixture->window));
-
gtk_container_add (GTK_CONTAINER (fixture->window),
GTK_WIDGET (fixture->manager));
@@ -98,7 +89,6 @@ test_teardown (TestFixture *fixture,
gconstpointer data)
{
gtk_widget_destroy (GTK_WIDGET (fixture->window));
- g_object_unref (fixture->window_group);
testing_engine_free (fixture->engine);
}