[gnome-todo] tests: Cleanup colorbutton interactive test



commit b02cf0ab83b23fa7bffac41fa499003355611c42
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Mon May 4 21:54:05 2020 -0300

    tests: Cleanup colorbutton interactive test

 tests/interactive/test-colorbutton.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
---
diff --git a/tests/interactive/test-colorbutton.c b/tests/interactive/test-colorbutton.c
index a095041..b27a7f2 100644
--- a/tests/interactive/test-colorbutton.c
+++ b/tests/interactive/test-colorbutton.c
@@ -1,6 +1,6 @@
 /* test-colorbutton.c
  *
- * Copyright 2018 Georges Basile Stavracas Neto <georges stavracas gmail com>
+ * Copyright 2018-2020 Georges Basile Stavracas Neto <georges stavracas gmail com>
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -38,7 +38,6 @@ main (gint   argc,
       gchar *argv[])
 {
   GtkWindow *window = NULL;
-  GtkWidget *group = NULL;
   GtkWidget *grid = NULL;
   guint columns;
   guint i;
@@ -64,7 +63,6 @@ main (gint   argc,
 
       color_button = g_object_new (GTD_TYPE_COLOR_BUTTON,
                                    "color", &color,
-                                   "group", group,
                                    NULL);
 
       gtk_grid_attach (GTK_GRID (grid),
@@ -73,9 +71,6 @@ main (gint   argc,
                        i / columns,
                        1,
                        1);
-
-      if (!group)
-        group = color_button;
     }
 
   window = GTK_WINDOW (gtk_window_new ());


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]