[gnome-settings-daemon] daemon: Fix cut'n'paste error
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] daemon: Fix cut'n'paste error
- Date: Wed, 13 Oct 2010 14:21:58 +0000 (UTC)
commit 9787f8a211a1bf1664b59114041953c22da5be3f
Author: Bastien Nocera <hadess hadess net>
Date: Wed Oct 13 15:21:20 2010 +0100
daemon: Fix cut'n'paste error
No need to get the GSettings twice, we already have it.
gnome-settings-daemon/gnome-settings-plugin-info.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnome-settings-daemon/gnome-settings-plugin-info.c b/gnome-settings-daemon/gnome-settings-plugin-info.c
index 615d232..df3a876 100644
--- a/gnome-settings-daemon/gnome-settings-plugin-info.c
+++ b/gnome-settings-daemon/gnome-settings-plugin-info.c
@@ -326,7 +326,7 @@ gnome_settings_plugin_info_set_settings_prefix (GnomeSettingsPluginInfo *info,
priority = g_settings_get_int (info->priv->settings, "priority");
if (priority > 0)
- info->priv->priority = g_settings_get_int (info->priv->settings, "priority");
+ info->priv->priority = priority;
g_signal_connect (G_OBJECT (info->priv->settings), "changed",
G_CALLBACK (plugin_enabled_cb), info);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]