Update to 3.3.90.1

This commit is contained in:
Bastien Nocera 2012-02-22 13:45:01 +01:00
parent c06424992a
commit 190ecc7829
7 changed files with 7 additions and 133 deletions

1
.gitignore vendored
View File

@ -34,3 +34,4 @@ gnome-settings-daemon-2.31.6.tar.bz2
/gnome-settings-daemon-3.3.3.1.tar.xz /gnome-settings-daemon-3.3.3.1.tar.xz
/gnome-settings-daemon-3.3.4.tar.xz /gnome-settings-daemon-3.3.4.tar.xz
/gnome-settings-daemon-3.3.5.tar.xz /gnome-settings-daemon-3.3.5.tar.xz
/gnome-settings-daemon-3.3.90.1.tar.xz

View File

@ -1,31 +0,0 @@
From ae303fb2b05265888f8b65ba2236782693369da7 Mon Sep 17 00:00:00 2001
From: Matthias Clasen <mclasen@redhat.com>
Date: Fri, 20 Jan 2012 09:11:14 -0500
Subject: [PATCH] Media keys: Be more careful when shutting down
The gtksettings instance is also initialized in an idle, so
we must handle it still being NULL when we shut down.
---
plugins/media-keys/gsd-media-keys-manager.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/plugins/media-keys/gsd-media-keys-manager.c b/plugins/media-keys/gsd-media-keys-manager.c
index e4052f3..51053ea 100644
--- a/plugins/media-keys/gsd-media-keys-manager.c
+++ b/plugins/media-keys/gsd-media-keys-manager.c
@@ -2147,8 +2147,10 @@ gsd_media_keys_manager_stop (GsdMediaKeysManager *manager)
manager);
}
- g_signal_handlers_disconnect_by_func (manager->priv->gtksettings, sound_theme_changed, manager);
- manager->priv->gtksettings = NULL;
+ if (manager->priv->gtksettings != NULL) {
+ g_signal_handlers_disconnect_by_func (manager->priv->gtksettings, sound_theme_changed, manager);
+ manager->priv->gtksettings = NULL;
+ }
if (manager->priv->ca) {
ca_context_destroy (manager->priv->ca);
--
1.7.8.4

View File

@ -1,26 +0,0 @@
From f84c73599aa7c7c6bba94471dc445dbbea521f72 Mon Sep 17 00:00:00 2001
From: Matthias Clasen <mclasen@redhat.com>
Date: Fri, 20 Jan 2012 00:40:41 -0500
Subject: [PATCH] Updates: Don't call g_object_unref on a GPtrArray
It doesn't work.
---
plugins/updates/gsd-updates-firmware.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/plugins/updates/gsd-updates-firmware.c b/plugins/updates/gsd-updates-firmware.c
index 17ca804..a04ad27 100644
--- a/plugins/updates/gsd-updates-firmware.c
+++ b/plugins/updates/gsd-updates-firmware.c
@@ -493,7 +493,7 @@ out:
if (error_code != NULL)
g_object_unref (error_code);
if (array != NULL)
- g_object_unref (array);
+ g_ptr_array_unref (array);
if (results != NULL)
g_object_unref (results);
return item;
--
1.7.8.4

View File

@ -1,28 +0,0 @@
From c16d6d46dfdeff509b888140d4fa1a04888ca355 Mon Sep 17 00:00:00 2001
From: Matthias Clasen <mclasen@redhat.com>
Date: Fri, 20 Jan 2012 09:06:08 -0500
Subject: [PATCH] XSettings: be more careful when shutting down
The shell name watch_id may still be 0 when we shut down right
away, because another instance is already running.
---
plugins/xsettings/gsd-xsettings-manager.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/plugins/xsettings/gsd-xsettings-manager.c b/plugins/xsettings/gsd-xsettings-manager.c
index 075cb37..fa49a3e 100644
--- a/plugins/xsettings/gsd-xsettings-manager.c
+++ b/plugins/xsettings/gsd-xsettings-manager.c
@@ -929,7 +929,8 @@ gnome_xsettings_manager_stop (GnomeXSettingsManager *manager)
stop_fontconfig_monitor (manager);
- g_bus_unwatch_name (manager->priv->shell_name_watch_id);
+ if (manager->priv->shell_name_watch_id > 0)
+ g_bus_unwatch_name (manager->priv->shell_name_watch_id);
if (p->settings != NULL) {
g_hash_table_destroy (p->settings);
--
1.7.8.4

View File

@ -1,45 +0,0 @@
From 42f9427729d763e7fd62aec9e15b036531489682 Mon Sep 17 00:00:00 2001
From: Matthias Clasen <mclasen@redhat.com>
Date: Fri, 20 Jan 2012 09:00:54 -0500
Subject: [PATCH] media-keys: Be more careful when finalizing
The keys array is initalized in an idle, so if we go right back down
because another instance of gsd is already running, we crash in
finalize, trying to clear a nonexisting array.
---
plugins/media-keys/gsd-media-keys-manager.c | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/plugins/media-keys/gsd-media-keys-manager.c b/plugins/media-keys/gsd-media-keys-manager.c
index 14ff09f..61e3a56 100644
--- a/plugins/media-keys/gsd-media-keys-manager.c
+++ b/plugins/media-keys/gsd-media-keys-manager.c
@@ -2209,16 +2209,18 @@ gsd_media_keys_manager_stop (GsdMediaKeysManager *manager)
gdk_error_trap_push ();
- for (i = 0; i < priv->keys->len; ++i) {
- MediaKey *key;
+ if (priv->keys != NULL) {
+ for (i = 0; i < priv->keys->len; ++i) {
+ MediaKey *key;
- key = g_ptr_array_index (manager->priv->keys, i);
+ key = g_ptr_array_index (manager->priv->keys, i);
- if (key->key)
- grab_key_unsafe (key->key, FALSE, priv->screens);
+ if (key->key)
+ grab_key_unsafe (key->key, FALSE, priv->screens);
+ }
+ g_ptr_array_free (priv->keys, TRUE);
+ priv->keys = NULL;
}
- g_ptr_array_free (priv->keys, TRUE);
- priv->keys = NULL;
gdk_flush ();
gdk_error_trap_pop_ignored ();
--
1.7.8.4

View File

@ -1,6 +1,6 @@
Name: gnome-settings-daemon Name: gnome-settings-daemon
Version: 3.3.5 Version: 3.3.90.1
Release: 2%{?dist} Release: 1%{?dist}
Summary: The daemon sharing settings from GNOME to GTK+/KDE applications Summary: The daemon sharing settings from GNOME to GTK+/KDE applications
Group: System Environment/Daemons Group: System Environment/Daemons
@ -202,6 +202,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_datadir}/gnome-settings-daemon-3.0/input-device-example.sh %{_datadir}/gnome-settings-daemon-3.0/input-device-example.sh
%changelog %changelog
* Wed Feb 22 2012 Bastien Nocera <bnocera@redhat.com> 3.3.90.1-1
- Update to 3.3.90.1
* Thu Feb 9 2012 Matthias Clasen <mclasen@redhat.com> 3.3.5-2 * Thu Feb 9 2012 Matthias Clasen <mclasen@redhat.com> 3.3.5-2
- Use systemd for session tracking - Use systemd for session tracking

View File

@ -1 +1 @@
1e9f2fb455e2edd07d400a5b78999e64 gnome-settings-daemon-3.3.5.tar.xz 4bb1cf5d2f53f2c7bfb2c291dba466d5 gnome-settings-daemon-3.3.90.1.tar.xz