[gnome-builder/wip/gtk4-port: 242/1774] libide/themes: remove old theme code




commit 7d12d9be4293b70253d9ca2451c3090d2bcaec70
Author: Christian Hergert <chergert redhat com>
Date:   Thu Mar 31 00:04:27 2022 -0700

    libide/themes: remove old theme code
    
    This is going to get completely redone as part of the GTK 4 port, so we
    should try to be explicit about it and reduce how much we have now that
    we only need to support libadwaita.

 src/libide/gui/ide-application.c                   |   2 -
 src/libide/gui/meson.build                         |   1 -
 src/libide/meson.build                             |   1 -
 src/libide/themes/libide-themes.c                  |  32 -----
 src/libide/themes/libide-themes.gresource.xml      |  30 ----
 src/libide/themes/libide-themes.h                  |  29 ----
 src/libide/themes/meson.build                      |  53 -------
 src/libide/themes/themes/Adwaita-dark.css          |  35 -----
 src/libide/themes/themes/Adwaita-shared.css        | 126 ----------------
 src/libide/themes/themes/Adwaita.css               |  30 ----
 src/libide/themes/themes/Arc-Dark.css              |   1 -
 src/libide/themes/themes/Arc-Darker.css            |   7 -
 src/libide/themes/themes/Arc-shared.css            |  83 -----------
 src/libide/themes/themes/Arc.css                   |   1 -
 src/libide/themes/themes/elementary.css            |  15 --
 src/libide/themes/themes/shared.css                | 148 -------------------
 src/libide/themes/themes/shared/shared-buildui.css |   9 --
 .../themes/themes/shared/shared-completion.css     |  48 -------
 .../themes/themes/shared/shared-debugger.css       |  21 ---
 src/libide/themes/themes/shared/shared-editor.css  | 158 ---------------------
 src/libide/themes/themes/shared/shared-greeter.css |  30 ----
 src/libide/themes/themes/shared/shared-hoverer.css |  26 ----
 src/libide/themes/themes/shared/shared-layout.css  |  82 -----------
 src/libide/themes/themes/shared/shared-omnibar.css |  51 -------
 src/libide/themes/themes/shared/shared-search.css  |  50 -------
 .../themes/themes/shared/shared-treeview.css       |  19 ---
 src/meson.build                                    |   2 -
 src/plugins/meson.build                            |   1 -
 28 files changed, 1091 deletions(-)
---
diff --git a/src/libide/gui/ide-application.c b/src/libide/gui/ide-application.c
index 5484dedd7..407a5d288 100644
--- a/src/libide/gui/ide-application.c
+++ b/src/libide/gui/ide-application.c
@@ -28,7 +28,6 @@
 
 #include <glib/gi18n.h>
 #include <libpeas/peas-autocleanups.h>
-#include <libide-themes.h>
 
 #include "ide-language-defaults.h"
 
@@ -380,7 +379,6 @@ ide_application_init (IdeApplication *self)
 
   g_application_set_default (G_APPLICATION (self));
   gtk_window_set_default_icon_name (ide_get_application_id ());
-  ide_themes_init ();
 
   /* Ensure our core data is loaded early. */
   _ide_application_add_resources (self, "resource:///org/gnome/libide-sourceview/");
diff --git a/src/libide/gui/meson.build b/src/libide/gui/meson.build
index 470114f90..7a4756b85 100644
--- a/src/libide/gui/meson.build
+++ b/src/libide/gui/meson.build
@@ -135,7 +135,6 @@ libide_gui_deps = [
   libide_plugins_dep,
   libide_projects_dep,
   libide_search_dep,
-  libide_themes_dep,
 ]
 
 if get_option('webkit').enabled()
diff --git a/src/libide/meson.build b/src/libide/meson.build
index 090dcedbc..8a4679a2a 100644
--- a/src/libide/meson.build
+++ b/src/libide/meson.build
@@ -15,7 +15,6 @@ subdir('search')
 subdir('projects')
 subdir('foundry')
 subdir('debugger')
-subdir('themes')
 subdir('gui')
 subdir('terminal')
 subdir('sourceview')
diff --git a/src/meson.build b/src/meson.build
index 20b84c171..ee1c822f7 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -39,7 +39,6 @@ gnome_builder_deps = [
   libide_search_dep,
   libide_sourceview_dep,
   libide_terminal_dep,
-  libide_themes_dep,
   libide_threading_dep,
   libide_vcs_dep,
   libide_tree_dep,
@@ -60,7 +59,6 @@ gnome_builder_static = [
   libide_search,
   libide_sourceview,
   libide_terminal,
-  libide_themes,
   libide_threading,
   libide_tree,
   libide_vcs,
diff --git a/src/plugins/meson.build b/src/plugins/meson.build
index fb3d98f20..02368d1c3 100644
--- a/src/plugins/meson.build
+++ b/src/plugins/meson.build
@@ -25,7 +25,6 @@ plugins_deps = [
   libide_search_dep,
   libide_sourceview_dep,
   libide_terminal_dep,
-  libide_themes_dep,
   libide_threading_dep,
   libide_tree_dep,
   libide_vcs_dep,


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