/pidgin/main: e6e3ac31f0b4: Move gdkx.h include to the file that...

Elliott Sales de Andrade qulogic at pidgin.im
Mon Nov 5 18:15:54 EST 2012


Changeset: e6e3ac31f0b4afef16fa47d866daa300e7332a1c
Author:	 Elliott Sales de Andrade <qulogic at pidgin.im>
Date:	 2012-09-11 00:23 -0400
Branch:	 default
URL: http://hg.pidgin.im/pidgin/main/rev/e6e3ac31f0b4

Description:

Move gdkx.h include to the file that really needs it.

diffstat:

 pidgin/gtkmedia.c |  2 ++
 pidgin/pidgin.h   |  4 ----
 2 files changed, 2 insertions(+), 4 deletions(-)

diffs (26 lines):

diff --git a/pidgin/gtkmedia.c b/pidgin/gtkmedia.c
--- a/pidgin/gtkmedia.c
+++ b/pidgin/gtkmedia.c
@@ -40,6 +40,8 @@
 
 #ifdef _WIN32
 #include <gdk/gdkwin32.h>
+#elif defined(GDK_WINDOWING_X11)
+#include <gdk/gdkx.h>
 #elif defined(GDK_WINDOWING_QUARTZ)
 #include <gdk/gdkquartz.h>
 #endif
diff --git a/pidgin/pidgin.h b/pidgin/pidgin.h
--- a/pidgin/pidgin.h
+++ b/pidgin/pidgin.h
@@ -29,10 +29,6 @@
 
 #include <gtk/gtk.h>
 
-#ifdef GDK_WINDOWING_X11
-# include <gdk/gdkx.h>
-#endif
-
 #ifdef _WIN32
 # include "gtkwin32dep.h"
 #endif



More information about the Commits mailing list