[Xfce4-commits] <xfce4-settings:xrandr-display-settings> Fix a warning when applying the settings
Jérôme Guelfucci
noreply at xfce.org
Sun Jun 6 18:48:02 CEST 2010
Updating branch refs/heads/xrandr-display-settings
to a8a6d181069b37f1f2d733134060b84b284a6056 (commit)
from 918e879493a8e740b68218cda524b606448e99ba (commit)
commit a8a6d181069b37f1f2d733134060b84b284a6056
Author: Lionel Le Folgoc <mrpouit at gmail.com>
Date: Sun Jun 6 18:21:14 2010 +0200
Fix a warning when applying the settings
xfce4-settings-helper/displays.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/xfce4-settings-helper/displays.c b/xfce4-settings-helper/displays.c
index 949a447..6a3088b 100644
--- a/xfce4-settings-helper/displays.c
+++ b/xfce4-settings-helper/displays.c
@@ -528,7 +528,7 @@ xfce_displays_helper_channel_property_changed (XfconfChannel *channel,
XfceDisplayLayout layout;
#endif
- if (G_UNLIKELY (value && strcmp (property_name, "/Schemes/Apply") == 0))
+ if (G_UNLIKELY (G_VALUE_HOLDS_STRING(value) && strcmp (property_name, "/Schemes/Apply") == 0))
{
/* get the layout of the scheme */
property = g_strdup_printf ("/%s/Layout", g_value_get_string (value));
More information about the Xfce4-commits
mailing list