[metacity] build: Bump required GTK+ version and remove compat code



commit 03d4c13ab32ca42d1226e6f314dbbfe810d46122
Author: Florian MÃllner <fmuellner gnome org>
Date:   Tue May 24 20:05:42 2011 +0200

    build: Bump required GTK+ version and remove compat code
    
    https://bugzilla.gnome.org/show_bug.cgi?id=572332

 configure.in     |    2 +-
 src/Makefile.am  |    1 -
 src/gdk-compat.h |   35 -----------------------------------
 src/ui/frames.c  |    2 --
 src/ui/ui.c      |    2 --
 5 files changed, 1 insertions(+), 41 deletions(-)
---
diff --git a/configure.in b/configure.in
index 8898763..63122cd 100644
--- a/configure.in
+++ b/configure.in
@@ -112,7 +112,7 @@ dnl This used to purport to allow compilation against gtk3, but it doesn't actua
 dnl work; see https://bugzilla.gnome.org/show_bug.cgi?id=650513
 with_gtk=2.0
 GTK_API_VERSION=2.0
-GTK_MIN_VERSION=2.20.0
+GTK_MIN_VERSION=2.24.0
 GIO_MIN_VERSION=2.25.10
 CANBERRA_GTK=libcanberra-gtk
 
diff --git a/src/Makefile.am b/src/Makefile.am
index fa49bef..cfbce37 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -38,7 +38,6 @@ metacity_SOURCES= 				\
 	core/frame.c				\
 	core/frame-private.h			\
 	include/frame.h				\
-	gdk-compat.h				\
 	ui/gradient.c				\
 	ui/gradient.h				\
 	core/group-private.h			\
diff --git a/src/ui/frames.c b/src/ui/frames.c
index 232994b..22f501e 100644
--- a/src/ui/frames.c
+++ b/src/ui/frames.c
@@ -35,8 +35,6 @@
 #include "prefs.h"
 #include "ui.h"
 
-#include "gdk-compat.h"
-
 #ifdef HAVE_SHAPE
 #include <X11/extensions/shape.h>
 #endif
diff --git a/src/ui/ui.c b/src/ui/ui.c
index 5a4af38..5ef4f52 100644
--- a/src/ui/ui.c
+++ b/src/ui/ui.c
@@ -32,8 +32,6 @@
 
 #include "inlinepixbufs.h"
 
-#include "gdk-compat.h"
-
 #include <string.h>
 #include <stdlib.h>
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]