[Xfce4-commits] <xfce4-settings:nick/pointers> Remove another unneeded gdk_flush.

Nick Schermer noreply at xfce.org
Sun May 22 12:50:01 CEST 2011


Updating branch refs/heads/nick/pointers
         to 73974f24dd6115fa40278a123acac7125897a7d6 (commit)
       from 0fee2a3377cda39c3e9818de860fe101602428d7 (commit)

commit 73974f24dd6115fa40278a123acac7125897a7d6
Author: Nick Schermer <nick at xfce.org>
Date:   Sat May 21 18:52:49 2011 +0200

    Remove another unneeded gdk_flush.

 xfsettingsd/displays.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/xfsettingsd/displays.c b/xfsettingsd/displays.c
index 5537aa3..c34a1f9 100644
--- a/xfsettingsd/displays.c
+++ b/xfsettingsd/displays.c
@@ -502,8 +502,6 @@ xfce_displays_helper_channel_apply (XfceDisplaysHelper *helper,
     GHashTable         *saved_outputs;
     XfceRROutput       *output;
 
-    /* flush x and trap errors */
-    gdk_flush ();
     gdk_error_trap_push ();
 
     /* get the default display */
@@ -826,8 +824,6 @@ err_cleanup:
     /* free the screen resources */
     XRRFreeScreenResources (resources);
 
-    /* flush and remove the x error trap */
-    gdk_flush ();
     gdk_error_trap_pop ();
 }
 



More information about the Xfce4-commits mailing list