Updating branch refs/heads/master
to 94acfd7b53ed1a347fea067cd606be6b3c1184cd (commit)
from 4911b706af64408af3265117f97c69a75952975e (commit)
commit 94acfd7b53ed1a347fea067cd606be6b3c1184cd
Author: Lionel Le Folgoc <[email protected]>
Date: Fri Jun 11 18:28:51 2010 +0200
Add missing #ifdef for randr 1.2 only functions
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 863c3ab..ae19806 100644
--- a/xfce4-settings-helper/displays.c
+++ b/xfce4-settings-helper/displays.c
@@ -122,6 +122,7 @@ 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_TWO
if (major == 1 && minor >= 2)
{
helper->has_1_3 = (major == 1 && minor >= 3);
@@ -129,6 +130,7 @@ xfce_displays_helper_init (XfceDisplaysHelper *helper)
xfce_displays_helper_channel_apply (helper, "Default");
}
else
+#endif
{
/* restore the default scheme */
xfce_displays_helper_channel_apply_legacy (helper, "Default");
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits