[Xfce4-commits] <xfce4-settings:master> Check correctly the exit code

Nick Schermer noreply at xfce.org
Sat Aug 28 23:02:21 CEST 2010


Updating branch refs/heads/master
         to d94e6827ad77742d83235d0fd83dd284f7ffda1a (commit)
       from 5baf0625fc207e6b56bd2c82c2390600483b9ced (commit)

commit d94e6827ad77742d83235d0fd83dd284f7ffda1a
Author: Lionel Le Folgoc <mrpouit at gmail.com>
Date:   Sun Jun 6 18:20:48 2010 +0200

    Check correctly the exit code

 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 0447f93..949a447 100644
--- a/xfce4-settings-helper/displays.c
+++ b/xfce4-settings-helper/displays.c
@@ -363,7 +363,7 @@ xfce_displays_helper_channel_apply (XfceDisplaysHelper *helper,
 
                     if (XRRSetCrtcConfig (xdisplay, resources, output_info->crtc,
                                           crtc_info->timestamp, crtc_info->x, crtc_info->y,
-                                          mode, rot, outputs, noutput) != Success)
+                                          mode, rot, outputs, noutput) != RRSetConfigSuccess)
                         g_warning ("Failed to configure %s.", output_info->name);
 
                     if (mode == None)



More information about the Xfce4-commits mailing list