[gnome-software/1602-drop-src-gs-folders-c: 14/14] Misc: Drop src/gs-folders.c




commit b713e312ffe2fcacadf7c8aea7567b28805099be
Author: Milan Crha <mcrha redhat com>
Date:   Mon Jan 17 17:33:08 2022 +0100

    Misc: Drop src/gs-folders.c
    
    That's a leftover artifact from the times when the Shell's folders
    had been edited in the Software. As it's no longer the case, it should
    be moved to the place where the relevant GSettings keys are managed.
    
    Closes https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1602

 src/gs-app-row.c     |  1 -
 src/gs-application.c |  2 --
 src/gs-folders.c     | 95 ----------------------------------------------------
 src/gs-folders.h     | 19 -----------
 src/meson.build      |  1 -
 5 files changed, 118 deletions(-)
---
diff --git a/src/gs-app-row.c b/src/gs-app-row.c
index 7ff1b1c15..41a2d10e8 100644
--- a/src/gs-app-row.c
+++ b/src/gs-app-row.c
@@ -16,7 +16,6 @@
 #include "gs-star-widget.h"
 #include "gs-progress-button.h"
 #include "gs-common.h"
-#include "gs-folders.h"
 
 typedef struct
 {
diff --git a/src/gs-application.c b/src/gs-application.c
index e23258e40..1b9c182a9 100644
--- a/src/gs-application.c
+++ b/src/gs-application.c
@@ -27,7 +27,6 @@
 #include "gs-shell.h"
 #include "gs-update-monitor.h"
 #include "gs-shell-search-provider.h"
-#include "gs-folders.h"
 
 #define ENABLE_REPOS_DIALOG_CONF_KEY "enable-repos-dialog"
 
@@ -1018,7 +1017,6 @@ gs_application_startup (GApplication *application)
 
        GS_APPLICATION (application)->update_monitor =
                gs_update_monitor_new (GS_APPLICATION (application));
-       gs_folders_convert ();
 
        gs_application_update_software_sources_presence (application);
 }
diff --git a/src/meson.build b/src/meson.build
index 47b17d25e..4e68c72b1 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -44,7 +44,6 @@ gnome_software_sources = [
   'gs-extras-page.c',
   'gs-feature-tile.c',
   'gs-featured-carousel.c',
-  'gs-folders.c',
   'gs-hardware-support-context-dialog.c',
   'gs-info-bar.c',
   'gs-info-window.c',


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