[Xfce4-commits] <xfce4-settings:master> Cleanup includes.

Nick Schermer noreply at xfce.org
Sun May 8 12:12:02 CEST 2011


Updating branch refs/heads/master
         to dc6f833ade8904490febe2d17bfdc4f208fda801 (commit)
       from a3e511c8d37b9e4036d6db3e6be6e7a01b6f466f (commit)

commit dc6f833ade8904490febe2d17bfdc4f208fda801
Author: Nick Schermer <nick at xfce.org>
Date:   Sun May 8 12:11:23 2011 +0200

    Cleanup includes.

 xfsettingsd/clipboard-manager.c |   20 +++++++-------------
 1 files changed, 7 insertions(+), 13 deletions(-)

diff --git a/xfsettingsd/clipboard-manager.c b/xfsettingsd/clipboard-manager.c
index 0bfe5c1..9d16d94 100644
--- a/xfsettingsd/clipboard-manager.c
+++ b/xfsettingsd/clipboard-manager.c
@@ -22,25 +22,19 @@
  *
  */
 
-#include "config.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
-#include <sys/types.h>
-#include <sys/wait.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <unistd.h>
+#ifdef HAVE_STRING_H
 #include <string.h>
-#include <errno.h>
+#endif
 
-#include <locale.h>
+#include <X11/Xlib.h>
+#include <X11/Xatom.h>
 
-#include <glib.h>
-#include <glib/gi18n.h>
 #include <gdk/gdk.h>
 #include <gdk/gdkx.h>
-#include <gtk/gtk.h>
-#include <X11/Xlib.h>
-#include <X11/Xatom.h>
 
 #include "clipboard-manager.h"
 #include "xsettings.h"



More information about the Xfce4-commits mailing list