[gtk/bin-removal: 46/59] testgtk: Fix g_object_new use



commit 8e6096914d6973eee2298cc094553516d238a34d
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun May 3 11:15:40 2020 -0400

    testgtk: Fix g_object_new use
    
    This is the kind of thing that happens with varargs apis.

 tests/testgtk.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/testgtk.c b/tests/testgtk.c
index 697b4b0b35..56f5de45d4 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -3548,7 +3548,7 @@ create_display_screen (GtkWidget *widget)
   window = g_object_new (gtk_window_get_type (),
                         "display", display,
                         "title", "Screen or Display selection",
-                         10, NULL);
+                         NULL);
   g_signal_connect (window, "destroy", 
                    G_CALLBACK (gtk_widget_destroy), NULL);
 


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