summaryrefslogtreecommitdiff
path: root/gdk/x11
diff options
context:
space:
mode:
authorManish Singh <yosh@gimp.org>2003-10-27 23:50:34 +0000
committerManish Singh <yosh@src.gnome.org>2003-10-27 23:50:34 +0000
commitafad91fe8d4d936f8b2bfb6561a2ff5d6a8a349d (patch)
tree8f165e88185eeb84485c45ca7d052cce21dd12a6 /gdk/x11
parent208b445f0d51ad76be738e4623ff2c29d4b56981 (diff)
downloadgdk-pixbuf-afad91fe8d4d936f8b2bfb6561a2ff5d6a8a349d.tar.gz
#include <X11/extensions/Xrandr.h> if we have RandR support, for
Mon Oct 27 15:47:58 2003 Manish Singh <yosh@gimp.org> * gdk/x11/gdkscreen-x11.c: #include <X11/extensions/Xrandr.h> if we have RandR support, for XRRUpdateConfiguration declaration. * gtk/gtkfilefilter.c: #include "gtkprivate.h" for _gtk_fnmatch declaration. * gtk/gtkuimanager.c (gtk_ui_manager_add_ui_from_file): Make length a gsize variable, since that's what g_file_get_contents() expects.
Diffstat (limited to 'gdk/x11')
-rw-r--r--gdk/x11/gdkscreen-x11.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdk/x11/gdkscreen-x11.c b/gdk/x11/gdkscreen-x11.c
index 1def110d4..db14fb5d4 100644
--- a/gdk/x11/gdkscreen-x11.c
+++ b/gdk/x11/gdkscreen-x11.c
@@ -39,6 +39,10 @@
#include <X11/extensions/Xinerama.h>
#endif
+#ifdef HAVE_RANDR
+#include <X11/extensions/Xrandr.h>
+#endif
+
static void gdk_screen_x11_class_init (GdkScreenX11Class *klass);
static void gdk_screen_x11_dispose (GObject *object);
static void gdk_screen_x11_finalize (GObject *object);