Updating branch refs/heads/master
to d2bad7d9397b40bf1d6437c4e069b67a0d5c1fc3 (commit)
from 9cc15aebb5135f36877581d75414e1fbbaa5a988 (commit)
commit d2bad7d9397b40bf1d6437c4e069b67a0d5c1fc3
Author: Jérôme Guelfucci <[email protected]>
Date: Fri Nov 5 21:07:59 2010 +0100
Fix compilation without Randr 1.3 (bug #6779).
xfce4-settings-helper/displays.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/xfce4-settings-helper/displays.c b/xfce4-settings-helper/displays.c
index 6036c9b..22f75ff 100644
--- a/xfce4-settings-helper/displays.c
+++ b/xfce4-settings-helper/displays.c
@@ -136,7 +136,9 @@ xfce_displays_helper_init (XfceDisplaysHelper *helper)
g_signal_connect (G_OBJECT (helper->channel), "property-changed",
G_CALLBACK
(xfce_displays_helper_channel_property_changed), helper);
+#ifdef HAS_RANDR_ONE_POINT_THREE
helper->has_1_3 = (major > 1 || (major == 1 && minor >= 3));
+#endif
/* restore the default scheme */
xfce_displays_helper_channel_apply (helper, "Default");
}
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits