[gnome-software: 39/110] common: Adapt to GtkScrolledWindow API changes




commit 1f0680220d8d5cf2e07957f7e6d14d5309b3ed55
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Mon Aug 23 10:47:08 2021 -0300

    common: Adapt to GtkScrolledWindow API changes
    
    The constructor receives no arguments now.

 src/gs-common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gs-common.c b/src/gs-common.c
index 730d4f0ed..4161a05b5 100644
--- a/src/gs-common.c
+++ b/src/gs-common.c
@@ -507,7 +507,7 @@ insert_details_widget (GtkMessageDialog *dialog, const gchar *details)
        gtk_widget_set_visible (label, TRUE);
        gtk_box_append (GTK_BOX (message_area), label);
 
-       sw = gtk_scrolled_window_new (NULL, NULL);
+       sw = gtk_scrolled_window_new ();
        gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw),
                                        GTK_POLICY_NEVER,
                                        GTK_POLICY_AUTOMATIC);


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