[gnome-bluetooth] test-client: Adapt to GtkScrolledWindow API changes



commit 6b3b95420ddbcc7a8657e8e9f50bd23a4c1d066c
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Wed Oct 27 13:59:15 2021 -0300

    test-client: Adapt to GtkScrolledWindow API changes
    
    gtk_scrolled_window_new() doesn't have any arguments now.

 lib/test-client.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/lib/test-client.c b/lib/test-client.c
index b9e1ec70..7b9fc681 100644
--- a/lib/test-client.c
+++ b/lib/test-client.c
@@ -157,7 +157,7 @@ static void create_window(void)
        gtk_box_append(GTK_BOX(toolbar), refresh_button);
        g_signal_connect(refresh_button, "clicked", G_CALLBACK(scan_callback), NULL);
 
-       scrolled = gtk_scrolled_window_new(NULL, NULL);
+       scrolled = gtk_scrolled_window_new();
        gtk_widget_set_vexpand(scrolled, TRUE);
        gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolled),
                                GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);


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