Package: release.debian.org
Severity: normal
Tags: bookworm
User: release.debian....@packages.debian.org
Usertags: pu
X-Debbugs-Cc: mate-control-cen...@packages.debian.org
Control: affects -1 + src:mate-control-center

[ Reason ]
Various memleaks have been resolved plus a non-operational button
dialog unlock button in mate-time-admin.

[ Impact ]
Memory management has been improved.

[ Tests ]
Manual smoke tests on the local system.

[ Risks ]
Regressions in MATE's control center. Esp. in:

  * mouse settings UI
  * keyboard properties UI
  * default application properties UI
  * appearance settings UI
  * MATE theme settings UI
  * MATE keybindings UI
  * mate-time-admin

[ Checklist ]
  [x] *all* changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in (old)stable
  [x] the issue is verified as fixed in unstable

[ Changes ]
(Explain *all* the changes)

+  [ Martin Wimpress ]
+  * debian/patches:
+    + Add 2002-remove_obsolete_lock_button.patch (LP: #1955339)

With recent versions of systemd, polkit is no longer used to request
authentication from users. Regular users can use `timedatectl` to modify
time without authentication,the lock button can be removed.

+  [ Mike Gabriel ]
+  * debian/patches:
+    + Add various memleak fix patches (0007, 0008, 0009, 0010, 0011, 0013, 
0014,
+    + 0016 and 0017). Cherry-picked from 1.26.1 upstream release. (Closes:
+      #1040019).

Bunch of memleaks fixes (see above for list of subcomponents).

[ Other info ]
None.
diff -Nru mate-control-center-1.26.0/debian/changelog 
mate-control-center-1.26.0/debian/changelog
--- mate-control-center-1.26.0/debian/changelog 2021-12-13 17:32:45.000000000 
+0100
+++ mate-control-center-1.26.0/debian/changelog 2023-07-01 07:28:02.000000000 
+0200
@@ -1,3 +1,17 @@
+mate-control-center (1.26.0-2+deb12u1) bookworm; urgency=medium
+
+  [ Martin Wimpress ]
+  * debian/patches:
+    + Add 2002-remove_obsolete_lock_button.patch (LP: #1955339)
+
+  [ Mike Gabriel ]
+  * debian/patches:
+    + Add various memleak fix patches (0007, 0008, 0009, 0010, 0011, 0013, 
0014,
+    + 0016 and 0017). Cherry-picked from 1.26.1 upstream release. (Closes:
+      #1040019).
+
+ -- Mike Gabriel <sunwea...@debian.org>  Sat, 01 Jul 2023 07:28:02 +0200
+
 mate-control-center (1.26.0-2) unstable; urgency=medium
 
   * debian/control:
diff -Nru 
mate-control-center-1.26.0/debian/patches/0007-mouse-fix-memory-leak.patch 
mate-control-center-1.26.0/debian/patches/0007-mouse-fix-memory-leak.patch
--- mate-control-center-1.26.0/debian/patches/0007-mouse-fix-memory-leak.patch  
1970-01-01 01:00:00.000000000 +0100
+++ mate-control-center-1.26.0/debian/patches/0007-mouse-fix-memory-leak.patch  
2023-07-01 07:24:51.000000000 +0200
@@ -0,0 +1,25 @@
+From e9aa9d485e8408a2f113ece4eca54f202962fb89 Mon Sep 17 00:00:00 2001
+From: rbuj <robert....@gmail.com>
+Date: Fri, 22 Oct 2021 13:15:31 +0200
+Subject: [PATCH 07/20] mouse: fix memory leak
+
+Signed-off-by: Mike Gabriel <mike.gabr...@das-netzwerkteam.de>
+---
+ capplets/mouse/mate-mouse-properties.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/capplets/mouse/mate-mouse-properties.c 
b/capplets/mouse/mate-mouse-properties.c
+index e057f7a..7ca4cf1 100644
+--- a/capplets/mouse/mate-mouse-properties.c
++++ b/capplets/mouse/mate-mouse-properties.c
+@@ -405,6 +405,7 @@ main (int argc, char **argv)
+       context = g_option_context_new (_("- MATE Mouse Preferences"));
+       g_option_context_add_main_entries (context, cap_options, 
GETTEXT_PACKAGE);
+       capplet_init (context, &argc, &argv);
++      g_option_context_free (context);
+ 
+       activate_settings_daemon ();
+ 
+-- 
+2.39.2
+
diff -Nru 
mate-control-center-1.26.0/debian/patches/0008-keyboard-fix-memory-leak.patch 
mate-control-center-1.26.0/debian/patches/0008-keyboard-fix-memory-leak.patch
--- 
mate-control-center-1.26.0/debian/patches/0008-keyboard-fix-memory-leak.patch   
    1970-01-01 01:00:00.000000000 +0100
+++ 
mate-control-center-1.26.0/debian/patches/0008-keyboard-fix-memory-leak.patch   
    2023-07-01 07:24:51.000000000 +0200
@@ -0,0 +1,25 @@
+From e5952471d2964ddb815ca7e40380f3472cc338a9 Mon Sep 17 00:00:00 2001
+From: rbuj <robert....@gmail.com>
+Date: Fri, 22 Oct 2021 13:18:23 +0200
+Subject: [PATCH 08/20] keyboard: fix memory leak
+
+Signed-off-by: Mike Gabriel <mike.gabr...@das-netzwerkteam.de>
+---
+ capplets/keyboard/mate-keyboard-properties.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/capplets/keyboard/mate-keyboard-properties.c 
b/capplets/keyboard/mate-keyboard-properties.c
+index ff389cf..4152759 100644
+--- a/capplets/keyboard/mate-keyboard-properties.c
++++ b/capplets/keyboard/mate-keyboard-properties.c
+@@ -187,6 +187,7 @@ main (int argc, char **argv)
+                                          GETTEXT_PACKAGE);
+ 
+       capplet_init (context, &argc, &argv);
++      g_option_context_free (context);
+ 
+       activate_settings_daemon ();
+ 
+-- 
+2.39.2
+
diff -Nru 
mate-control-center-1.26.0/debian/patches/0009-mate-da-capplet-fix-memory-leak.patch
 
mate-control-center-1.26.0/debian/patches/0009-mate-da-capplet-fix-memory-leak.patch
--- 
mate-control-center-1.26.0/debian/patches/0009-mate-da-capplet-fix-memory-leak.patch
        1970-01-01 01:00:00.000000000 +0100
+++ 
mate-control-center-1.26.0/debian/patches/0009-mate-da-capplet-fix-memory-leak.patch
        2023-07-01 07:24:51.000000000 +0200
@@ -0,0 +1,25 @@
+From dd2c22523987bff1d4bdc92a166441d2589e703f Mon Sep 17 00:00:00 2001
+From: rbuj <robert....@gmail.com>
+Date: Mon, 8 Nov 2021 13:17:12 +0100
+Subject: [PATCH 09/20] mate-da-capplet: fix memory leak
+
+Signed-off-by: Mike Gabriel <mike.gabr...@das-netzwerkteam.de>
+---
+ capplets/default-applications/mate-da-capplet.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/capplets/default-applications/mate-da-capplet.c 
b/capplets/default-applications/mate-da-capplet.c
+index e5ade48..0c69b5f 100644
+--- a/capplets/default-applications/mate-da-capplet.c
++++ b/capplets/default-applications/mate-da-capplet.c
+@@ -789,6 +789,7 @@ main(int argc, char** argv)
+       g_option_context_add_main_entries(context, option_entries, 
GETTEXT_PACKAGE);
+ 
+       capplet_init(context, &argc, &argv);
++      g_option_context_free(context);
+ 
+       MateDACapplet* capplet = g_new0(MateDACapplet, 1);
+ 
+-- 
+2.39.2
+
diff -Nru 
mate-control-center-1.26.0/debian/patches/0010-appearance-fix-memory-leak.patch 
mate-control-center-1.26.0/debian/patches/0010-appearance-fix-memory-leak.patch
--- 
mate-control-center-1.26.0/debian/patches/0010-appearance-fix-memory-leak.patch 
    1970-01-01 01:00:00.000000000 +0100
+++ 
mate-control-center-1.26.0/debian/patches/0010-appearance-fix-memory-leak.patch 
    2023-07-01 07:24:51.000000000 +0200
@@ -0,0 +1,53 @@
+From f13479d193c89eb5a497e06ad16657ee6850f896 Mon Sep 17 00:00:00 2001
+From: rbuj <robert....@gmail.com>
+Date: Thu, 21 Oct 2021 17:30:27 +0200
+Subject: [PATCH 10/20] appearance: fix memory leak
+
+Signed-off-by: Mike Gabriel <mike.gabr...@das-netzwerkteam.de>
+---
+ capplets/appearance/mate-wp-item.c | 8 +++++---
+ 1 file changed, 5 insertions(+), 3 deletions(-)
+
+diff --git a/capplets/appearance/mate-wp-item.c 
b/capplets/appearance/mate-wp-item.c
+index 766f1b7..1b0566f 100644
+--- a/capplets/appearance/mate-wp-item.c
++++ b/capplets/appearance/mate-wp-item.c
+@@ -190,6 +190,7 @@ void mate_wp_item_free (MateWPItem * item) {
+   g_free (item->name);
+   g_free (item->filename);
+   g_free (item->description);
++  g_free (item->artist);
+ 
+   if (item->pcolor != NULL)
+     gdk_rgba_free (item->pcolor);
+@@ -276,7 +277,7 @@ void mate_wp_item_update_description (MateWPItem * item) {
+   if (!strcmp (item->filename, "(none)")) {
+     item->description = g_strdup (item->name);
+   } else {
+-    const gchar *description;
++    gchar *description;
+     gchar *size;
+     gchar *dirname = g_path_get_dirname (item->filename);
+     gchar *artist;
+@@ -292,9 +293,9 @@ void mate_wp_item_update_description (MateWPItem * item) {
+     if (strcmp (item->fileinfo->mime_type, "application/xml") == 0)
+       {
+         if (mate_bg_changes_with_time (item->bg))
+-          description = _("Slide Show");
++          description = g_strdup (_("Slide Show"));
+         else if (item->width > 0 && item->height > 0)
+-          description = _("Image");
++          description = g_strdup (_("Image"));
+       }
+     else
+       description = g_content_type_get_description 
(item->fileinfo->mime_type);
+@@ -344,5 +345,6 @@ void mate_wp_item_update_description (MateWPItem * item) {
+     g_free (size);
+     g_free (dirname);
+     g_free (artist);
++    g_free (description);
+   }
+ }
+-- 
+2.39.2
+
diff -Nru 
mate-control-center-1.26.0/debian/patches/0011-common-fix-memory-leak.patch 
mate-control-center-1.26.0/debian/patches/0011-common-fix-memory-leak.patch
--- mate-control-center-1.26.0/debian/patches/0011-common-fix-memory-leak.patch 
1970-01-01 01:00:00.000000000 +0100
+++ mate-control-center-1.26.0/debian/patches/0011-common-fix-memory-leak.patch 
2023-07-01 07:24:51.000000000 +0200
@@ -0,0 +1,25 @@
+From 5431e81a503e9bb744771be6eab2d235e9445fd6 Mon Sep 17 00:00:00 2001
+From: rbuj <robert....@gmail.com>
+Date: Thu, 21 Oct 2021 18:00:37 +0200
+Subject: [PATCH 11/20] common: fix memory leak
+
+Signed-off-by: Mike Gabriel <mike.gabr...@das-netzwerkteam.de>
+---
+ capplets/common/mate-theme-info.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/capplets/common/mate-theme-info.c 
b/capplets/common/mate-theme-info.c
+index 01c83ee..6971602 100644
+--- a/capplets/common/mate-theme-info.c
++++ b/capplets/common/mate-theme-info.c
+@@ -1560,6 +1560,7 @@ void mate_theme_meta_info_free(MateThemeMetaInfo* 
meta_theme_info)
+       g_free (meta_theme_info->path);
+       g_free (meta_theme_info->sound_theme_name);
+       g_free (meta_theme_info->windowtitle_font);
++      g_free (meta_theme_info->readable_name);
+       g_free (meta_theme_info);
+ }
+ 
+-- 
+2.39.2
+
diff -Nru 
mate-control-center-1.26.0/debian/patches/0013-common-fix-memory-leak-detected-by-scan-build.patch
 
mate-control-center-1.26.0/debian/patches/0013-common-fix-memory-leak-detected-by-scan-build.patch
--- 
mate-control-center-1.26.0/debian/patches/0013-common-fix-memory-leak-detected-by-scan-build.patch
  1970-01-01 01:00:00.000000000 +0100
+++ 
mate-control-center-1.26.0/debian/patches/0013-common-fix-memory-leak-detected-by-scan-build.patch
  2023-07-01 07:24:51.000000000 +0200
@@ -0,0 +1,34 @@
+From dde64d88b7463d4f47ffcae317765c24b2bd708f Mon Sep 17 00:00:00 2001
+From: rbuj <robert....@gmail.com>
+Date: Fri, 22 Oct 2021 14:44:46 +0200
+Subject: [PATCH 13/20] common: fix memory leak detected by scan-build
+
+Signed-off-by: Mike Gabriel <mike.gabr...@das-netzwerkteam.de>
+---
+ capplets/common/mate-theme-info.c | 7 +++++--
+ 1 file changed, 5 insertions(+), 2 deletions(-)
+
+diff --git a/capplets/common/mate-theme-info.c 
b/capplets/common/mate-theme-info.c
+index 6971602..c8eca7f 100644
+--- a/capplets/common/mate-theme-info.c
++++ b/capplets/common/mate-theme-info.c
+@@ -1215,11 +1215,14 @@ real_add_top_theme_dir_monitor (GFile    *uri,
+   tuple->priority = priority;
+ 
+   /* Monitor the top directory */
+-  monitor = g_file_monitor_directory (uri, G_FILE_MONITOR_NONE, NULL, NULL);
+-  if (monitor != NULL) {
++  if ((monitor = g_file_monitor_directory (uri, G_FILE_MONITOR_NONE, NULL, 
NULL)) != NULL) {
+     g_signal_connect (monitor, "changed",
+                       (GCallback) (icon_theme ? top_icon_theme_dir_changed : 
top_theme_dir_changed),
+                       tuple);
++  } else {
++    g_hash_table_destroy (tuple->handle_hash);
++    g_free (tuple);
++    return FALSE;
+   }
+ 
+   /* Go through the directory to add monitoring */
+-- 
+2.39.2
+
diff -Nru 
mate-control-center-1.26.0/debian/patches/0014-appearance-style-fix-memory-leak.patch
 
mate-control-center-1.26.0/debian/patches/0014-appearance-style-fix-memory-leak.patch
--- 
mate-control-center-1.26.0/debian/patches/0014-appearance-style-fix-memory-leak.patch
       1970-01-01 01:00:00.000000000 +0100
+++ 
mate-control-center-1.26.0/debian/patches/0014-appearance-style-fix-memory-leak.patch
       2023-07-01 07:24:51.000000000 +0200
@@ -0,0 +1,25 @@
+From 0c084c2e24fb3f281f5735862f6010917e8f5d56 Mon Sep 17 00:00:00 2001
+From: rbuj <robert....@gmail.com>
+Date: Mon, 8 Nov 2021 12:11:12 +0100
+Subject: [PATCH 14/20] appearance-style: fix memory leak
+
+Signed-off-by: Mike Gabriel <mike.gabr...@das-netzwerkteam.de>
+---
+ capplets/appearance/appearance-style.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/capplets/appearance/appearance-style.c 
b/capplets/appearance/appearance-style.c
+index a4283b4..f997abf 100644
+--- a/capplets/appearance/appearance-style.c
++++ b/capplets/appearance/appearance-style.c
+@@ -253,6 +253,7 @@ static void update_message_area(AppearanceData* data)
+               gtk_box_pack_start (GTK_BOX (parent), data->style_message_area, 
FALSE, FALSE, 0);
+       }
+ 
++  g_free (engine);
+   gtk_widget_hide(data->style_message_area);
+ }
+ 
+-- 
+2.39.2
+
diff -Nru 
mate-control-center-1.26.0/debian/patches/0016-keyboard-fix-memory-leak.patch 
mate-control-center-1.26.0/debian/patches/0016-keyboard-fix-memory-leak.patch
--- 
mate-control-center-1.26.0/debian/patches/0016-keyboard-fix-memory-leak.patch   
    1970-01-01 01:00:00.000000000 +0100
+++ 
mate-control-center-1.26.0/debian/patches/0016-keyboard-fix-memory-leak.patch   
    2023-07-01 07:24:51.000000000 +0200
@@ -0,0 +1,68 @@
+From 8fbf599c024d0c7eb787b2f23dd141befaab4251 Mon Sep 17 00:00:00 2001
+From: rbuj <robert....@gmail.com>
+Date: Sun, 30 Jan 2022 15:49:25 +0100
+Subject: [PATCH 16/20] keyboard: fix memory leak
+
+Signed-off-by: Mike Gabriel <mike.gabr...@das-netzwerkteam.de>
+---
+ .../keyboard/mate-keyboard-properties-xkbmc.c | 43 ++++++++++---------
+ 1 file changed, 23 insertions(+), 20 deletions(-)
+
+diff --git a/capplets/keyboard/mate-keyboard-properties-xkbmc.c 
b/capplets/keyboard/mate-keyboard-properties-xkbmc.c
+index 6ffc69e..1fb73e8 100644
+--- a/capplets/keyboard/mate-keyboard-properties-xkbmc.c
++++ b/capplets/keyboard/mate-keyboard-properties-xkbmc.c
+@@ -43,27 +43,30 @@ static void fill_models_list (GtkBuilder * chooser_dialog);
+ static gboolean fill_vendors_list (GtkBuilder * chooser_dialog);
+ 
+ static GtkTreePath *
+-gtk_list_store_find_entry (GtkListStore * list_store,
+-                         GtkTreeIter * iter, gchar * name, int column_id)
++gtk_list_store_find_entry (GtkListStore   *list_store,
++                           GtkTreeIter    *iter,
++                           gchar          *name,
++                           int             column_id)
+ {
+-      GtkTreePath *path;
+-      char *current_name = NULL;
+-      if (gtk_tree_model_get_iter_first
+-          (GTK_TREE_MODEL (list_store), iter)) {
+-              do {
+-                      gtk_tree_model_get (GTK_TREE_MODEL
+-                                          (list_store), iter, column_id,
+-                                          &current_name, -1);
+-                      if (!g_ascii_strcasecmp (name, current_name)) {
+-                              path =
+-                                  gtk_tree_model_get_path
+-                                  (GTK_TREE_MODEL (list_store), iter);
+-                              return path;
+-                      }
+-                      g_free (current_name);
+-              } while (gtk_tree_model_iter_next
+-                       (GTK_TREE_MODEL (list_store), iter));
+-      }
++      GtkTreeModel *tree_model = GTK_TREE_MODEL (list_store);
++
++      if (!gtk_tree_model_get_iter_first (tree_model, iter))
++              return NULL;
++
++      do {
++              char *current_name;
++              gint  res;
++
++              gtk_tree_model_get (tree_model, iter,
++                                  column_id, &current_name,
++                                  -1);
++              res = g_ascii_strcasecmp (name, current_name);
++              g_free (current_name);
++              if (res == 0) {
++                      return gtk_tree_model_get_path (tree_model, iter);
++              }
++      } while (gtk_tree_model_iter_next (tree_model, iter));
++
+       return NULL;
+ }
+ 
+-- 
+2.39.2
+
diff -Nru 
mate-control-center-1.26.0/debian/patches/0017-keybindings-fix-memory-leak.patch
 
mate-control-center-1.26.0/debian/patches/0017-keybindings-fix-memory-leak.patch
--- 
mate-control-center-1.26.0/debian/patches/0017-keybindings-fix-memory-leak.patch
    1970-01-01 01:00:00.000000000 +0100
+++ 
mate-control-center-1.26.0/debian/patches/0017-keybindings-fix-memory-leak.patch
    2023-07-01 07:24:51.000000000 +0200
@@ -0,0 +1,120 @@
+From 89cd4e8201eb27dbafb3f23ff83b68a3f195effb Mon Sep 17 00:00:00 2001
+From: rbuj <robert....@gmail.com>
+Date: Sun, 30 Jan 2022 16:24:00 +0100
+Subject: [PATCH 17/20] keybindings: fix memory leak
+
+Signed-off-by: Mike Gabriel <mike.gabr...@das-netzwerkteam.de>
+---
+ .../keybindings/mate-keybinding-properties.c  | 68 +++++++++++--------
+ 1 file changed, 41 insertions(+), 27 deletions(-)
+
+diff --git a/capplets/keybindings/mate-keybinding-properties.c 
b/capplets/keybindings/mate-keybinding-properties.c
+index fbf911f..65c8901 100644
+--- a/capplets/keybindings/mate-keybinding-properties.c
++++ b/capplets/keybindings/mate-keybinding-properties.c
+@@ -412,32 +412,43 @@ typedef struct {
+   gboolean found;
+ } KeyMatchData;
+ 
+-static gboolean key_match(GtkTreeModel* model, GtkTreePath* path, 
GtkTreeIter* iter, gpointer data)
++static gboolean
++key_match (GtkTreeModel *model,
++           GtkTreePath  *path,
++           GtkTreeIter  *iter,
++           gpointer      data)
+ {
+-    KeyMatchData* match_data = data;
+-    KeyEntry* element = NULL;
++    KeyMatchData *match_data = data;
++    KeyEntry *element;
+     gchar *element_schema = NULL;
+     gchar *element_path = NULL;
++    gboolean found = FALSE;
+ 
+-    gtk_tree_model_get(model, iter,
+-        KEYENTRY_COLUMN, &element,
+-        -1);
++    gtk_tree_model_get (model, iter,
++                        KEYENTRY_COLUMN, &element,
++                        -1);
+ 
+-    if (element && element->settings && G_IS_SETTINGS(element->settings))
+-    {
+-            g_object_get (element->settings, "schema-id", &element_schema, 
NULL);
+-        g_object_get (element->settings, "path", &element_path, NULL);
+-    }
++    if (!element)
++        return FALSE;
++
++    if (!element->settings || !G_IS_SETTINGS (element->settings))
++        return FALSE;
++
++    g_object_get (element->settings, "schema-id", &element_schema, NULL);
++    g_object_get (element->settings, "path", &element_path, NULL);
+ 
+-    if (element && g_strcmp0(element->gsettings_key, match_data->key) == 0
+-            && g_strcmp0(element_schema, match_data->schema) == 0
+-            && g_strcmp0(element_path, match_data->path) == 0)
++    if ((g_strcmp0 (element->gsettings_key, match_data->key) == 0) &&
++        (g_strcmp0 (element_schema, match_data->schema) == 0) &&
++        (g_strcmp0 (element_path, match_data->path) == 0))
+     {
+         match_data->found = TRUE;
+-        return TRUE;
++        found = TRUE;
+     }
+ 
+-    return FALSE;
++    g_free (element_schema);
++    g_free (element_path);
++
++    return found;
+ }
+ 
+ static gboolean key_is_already_shown(GtkTreeModel* model, const KeyListEntry* 
entry)
+@@ -529,28 +540,31 @@ ensure_scrollbar (GtkBuilder *builder, int i)
+ static void
+ find_section (GtkTreeModel *model,
+               GtkTreeIter  *iter,
+-          const char   *title)
++              const char   *title)
+ {
++  GtkTreeStore *store;
+   gboolean success;
+ 
+   success = gtk_tree_model_get_iter_first (model, iter);
+   while (success)
+     {
+-      char *description = NULL;
++      char *description;
++      gint  res;
+ 
+       gtk_tree_model_get (model, iter,
+-              DESCRIPTION_COLUMN, &description,
+-              -1);
+-
+-      if (g_strcmp0 (description, title) == 0)
++                          DESCRIPTION_COLUMN, &description,
++                          -1);
++      res = g_strcmp0 (description, title);
++      g_free (description);
++      if (res == 0)
+         return;
+       success = gtk_tree_model_iter_next (model, iter);
+     }
+-
+-    gtk_tree_store_append (GTK_TREE_STORE (model), iter, NULL);
+-    gtk_tree_store_set (GTK_TREE_STORE (model), iter,
+-                        DESCRIPTION_COLUMN, title,
+-                        -1);
++  store = GTK_TREE_STORE (model);
++  gtk_tree_store_append (store, iter, NULL);
++  gtk_tree_store_set (store, iter,
++                      DESCRIPTION_COLUMN, title,
++                      -1);
+ }
+ 
+ static void
+-- 
+2.39.2
+
diff -Nru 
mate-control-center-1.26.0/debian/patches/2002-remove_obsolete_lock_button.patch
 
mate-control-center-1.26.0/debian/patches/2002-remove_obsolete_lock_button.patch
--- 
mate-control-center-1.26.0/debian/patches/2002-remove_obsolete_lock_button.patch
    1970-01-01 01:00:00.000000000 +0100
+++ 
mate-control-center-1.26.0/debian/patches/2002-remove_obsolete_lock_button.patch
    2023-07-01 06:32:02.000000000 +0200
@@ -0,0 +1,41 @@
+diff --git a/capplets/time-admin/src/time-admin.ui 
b/capplets/time-admin/src/time-admin.ui
+index dc4e7b2..1508b58 100644
+--- a/capplets/time-admin/src/time-admin.ui
++++ b/capplets/time-admin/src/time-admin.ui
+@@ -350,18 +350,6 @@ Author: Robert Buj
+             <property name="margin_bottom">18</property>
+             <property name="spacing">12</property>
+             <property name="layout_style">end</property>
+-            <child>
+-              <object class="GtkLockButton" id="button4">
+-                <property name="visible">True</property>
+-                <property name="can_focus">True</property>
+-                <property name="margin_start">18</property>
+-              </object>
+-              <packing>
+-                <property name="expand">True</property>
+-                <property name="fill">True</property>
+-                <property name="position">0</property>
+-              </packing>
+-            </child>
+             <child>
+               <object class="GtkButton" id="button2">
+                 <accessibility>
+@@ -378,7 +366,7 @@ Author: Robert Buj
+               <packing>
+                 <property name="expand">True</property>
+                 <property name="fill">True</property>
+-                <property name="position">1</property>
++                <property name="position">0</property>
+               </packing>
+             </child>
+             <child>
+@@ -394,7 +382,7 @@ Author: Robert Buj
+               <packing>
+                 <property name="expand">True</property>
+                 <property name="fill">True</property>
+-                <property name="position">2</property>
++                <property name="position">1</property>
+               </packing>
+             </child>
+           </object>
diff -Nru mate-control-center-1.26.0/debian/patches/series 
mate-control-center-1.26.0/debian/patches/series
--- mate-control-center-1.26.0/debian/patches/series    1970-01-01 
01:00:00.000000000 +0100
+++ mate-control-center-1.26.0/debian/patches/series    2023-07-01 
07:26:06.000000000 +0200
@@ -0,0 +1,10 @@
+2002-remove_obsolete_lock_button.patch
+0007-mouse-fix-memory-leak.patch
+0008-keyboard-fix-memory-leak.patch
+0009-mate-da-capplet-fix-memory-leak.patch
+0010-appearance-fix-memory-leak.patch
+0011-common-fix-memory-leak.patch
+0013-common-fix-memory-leak-detected-by-scan-build.patch
+0014-appearance-style-fix-memory-leak.patch
+0016-keyboard-fix-memory-leak.patch
+0017-keybindings-fix-memory-leak.patch

Reply via email to