[sysprof/wip/gtk4-port: 75/125] windowsettings: remove legacy window settings




commit dac93fa58b42f05a51c9cf983b5ff61705a4ed85
Author: Christian Hergert <chergert redhat com>
Date:   Fri Oct 1 11:18:28 2021 -0700

    windowsettings: remove legacy window settings
    
    We don't actually track any of this anyway, and it's not that useful in
    a wayland world, so just drop it.

 data/org.gnome.sysprof3.gschema.xml   |  15 ---
 src/sysprof/meson.build               |   1 -
 src/sysprof/sysprof-window-settings.c | 175 ----------------------------------
 src/sysprof/sysprof-window-settings.h |  30 ------
 4 files changed, 221 deletions(-)
---
diff --git a/data/org.gnome.sysprof3.gschema.xml b/data/org.gnome.sysprof3.gschema.xml
index afd7249e..95d89871 100644
--- a/data/org.gnome.sysprof3.gschema.xml
+++ b/data/org.gnome.sysprof3.gschema.xml
@@ -1,20 +1,5 @@
 <schemalist>
   <schema id="org.gnome.sysprof3" path="/org/gnome/sysprof/" gettext-domain="sysprof">
-    <key name="window-size" type="(ii)">
-      <default>(-1, -1)</default>
-      <summary>Window size</summary>
-      <description>Window size (width and height).</description>
-    </key>
-    <key name="window-position" type="(ii)">
-      <default>(-1,-1)</default>
-      <summary>Window position</summary>
-      <description>Window position (x and y).</description>
-    </key>
-    <key name="window-maximized" type="b">
-      <default>true</default>
-      <summary>Window maximized</summary>
-      <description>Window maximized state</description>
-    </key>
     <key name="last-spawn-argv" type="s">
       <default>''</default>
       <summary>Last Spawn Program</summary>
diff --git a/src/sysprof/meson.build b/src/sysprof/meson.build
index f1a2fdc3..96552a26 100644
--- a/src/sysprof/meson.build
+++ b/src/sysprof/meson.build
@@ -5,7 +5,6 @@ sysprof_sources = [
   'sysprof.c',
   'sysprof-application.c',
   'sysprof-window.c',
-  'sysprof-window-settings.c',
 ]
 
 sysprof_resources = gnome.compile_resources('sysprof-resources', 'sysprof.gresource.xml',


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