[gnome-software/wip/mcrha/gs-repos-dialog-gtk4-3rdparty-section-missing] gs-repos-dialog: Third-party repos section missing



commit 999b6c8bb0e6a944b73d0b09ba8fffb7eb594f71
Author: Milan Crha <mcrha redhat com>
Date:   Mon Oct 11 11:02:51 2021 +0200

    gs-repos-dialog: Third-party repos section missing
    
    Fix a typo in the code, to add correct widget into the page.
    It exhibited also a runtime warning on the console, about adding
    a widget, which has set the parent already.

 src/gs-repos-dialog.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gs-repos-dialog.c b/src/gs-repos-dialog.c
index 7b1e7eb0f..3853998b0 100644
--- a/src/gs-repos-dialog.c
+++ b/src/gs-repos-dialog.c
@@ -539,7 +539,7 @@ get_sources_cb (GsPluginLoader *plugin_loader,
                }
 
                adw_preferences_page_add (ADW_PREFERENCES_PAGE (dialog->content_page),
-                                         ADW_PREFERENCES_GROUP (widget));
+                                         ADW_PREFERENCES_GROUP (section));
        }
 }
 


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