[tali] Fix gtk_dialog_new_with_buttons NULL sentinel



commit 1e74809fd8c904cab5cfe9e0e06e874c7844b65f
Author: Mart Raudsepp <leio gentoo org>
Date:   Sat Mar 28 21:03:30 2020 +0200

    Fix gtk_dialog_new_with_buttons NULL sentinel

 src/setup.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/setup.c b/src/setup.c
index 7b32151..8fe00ed 100644
--- a/src/setup.c
+++ b/src/setup.c
@@ -258,8 +258,10 @@ setup_game (void)
   }
 
   setupdialog = gtk_dialog_new_with_buttons (_("Preferences"),
-                                            GTK_WINDOW (window),
-                                            GTK_DIALOG_USE_HEADER_BAR, NULL);
+                                             GTK_WINDOW (window),
+                                             GTK_DIALOG_USE_HEADER_BAR,
+                                             NULL,
+                                             NULL);
   gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (setupdialog))), 2);
   gtk_window_set_resizable (GTK_WINDOW (setupdialog), FALSE);
   g_signal_connect (G_OBJECT (setupdialog), "delete_event",


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