[gtksourceview/wip/chergert/gsv-gtk4: 174/175] track changes in GTK



commit 6e7ae3a85053a23d44cf326ccee9c26a0e60ab2a
Author: Christian Hergert <chergert redhat com>
Date:   Wed Jun 24 17:30:38 2020 -0700

    track changes in GTK

 gtksourceview/gtksourcestyleschemechooserbutton.c | 2 +-
 tests/test-space-drawing.c                        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtksourceview/gtksourcestyleschemechooserbutton.c 
b/gtksourceview/gtksourcestyleschemechooserbutton.c
index 55a059ea..35c27a19 100644
--- a/gtksourceview/gtksourcestyleschemechooserbutton.c
+++ b/gtksourceview/gtksourcestyleschemechooserbutton.c
@@ -187,7 +187,7 @@ ensure_dialog (GtkSourceStyleSchemeChooserButton *button)
                                                             NULL);
        gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
 
-       scrolled_window = gtk_scrolled_window_new (NULL, NULL);
+       scrolled_window = gtk_scrolled_window_new ();
        gtk_widget_set_size_request (scrolled_window, 325, 350);
        gtk_widget_show (scrolled_window);
        gtk_widget_set_hexpand (scrolled_window, TRUE);
diff --git a/tests/test-space-drawing.c b/tests/test-space-drawing.c
index 441ccebc..f71bc91d 100644
--- a/tests/test-space-drawing.c
+++ b/tests/test-space-drawing.c
@@ -140,7 +140,7 @@ create_window (void)
                                implicit_trailing_newline_checkbutton, "active",
                                G_BINDING_BIDIRECTIONAL | G_BINDING_SYNC_CREATE);
 
-       scrolled_window = gtk_scrolled_window_new (NULL, NULL);
+       scrolled_window = gtk_scrolled_window_new ();
        gtk_scrolled_window_set_child (GTK_SCROLLED_WINDOW (scrolled_window), GTK_WIDGET (view));
        gtk_grid_attach (GTK_GRID (hgrid), scrolled_window, 1, 0, 1, 1);
 


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