[gtkglext] Don't hard-code deprecation preprocessor symbols in Makefile.am. These are moving targets and can i
- From: Braden McDaniel <bradenmcd src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkglext] Don't hard-code deprecation preprocessor symbols in Makefile.am. These are moving targets and can i
- Date: Tue, 27 Apr 2010 04:05:44 +0000 (UTC)
commit e49bf7381c3aec86044445bc83c35d1b1f3ffa4c
Author: Braden McDaniel <braden endoframe com>
Date: Tue Apr 27 00:05:34 2010 -0400
Don't hard-code deprecation preprocessor symbols in Makefile.am. These are moving targets and can introduce build problems as GTK+, etc. evolve.
examples/Makefile.am | 6 +-----
gdk/Makefile.am | 5 +----
gdk/win32/Makefile.am | 5 +----
gdk/x11/Makefile.am | 5 +----
gtk/Makefile.am | 6 +-----
5 files changed, 5 insertions(+), 22 deletions(-)
---
diff --git a/examples/Makefile.am b/examples/Makefile.am
index b7bb072..463503d 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -16,11 +16,7 @@ AM_CPPFLAGS = \
$(GTK_CFLAGS) \
$(GL_CFLAGS) \
$(GDKGLEXT_WIN_CFLAGS) \
- $(EXAMPLES_DEP_CFLAGS) \
- -DG_DISABLE_DEPRECATED \
- -DGDK_DISABLE_DEPRECATED \
- -DGDK_PIXBUF_DISABLE_DEPRECATED \
- -DGTK_DISABLE_DEPRECATED
+ $(EXAMPLES_DEP_CFLAGS)
LDADD = \
../gdk/$(gdkglext_targetlib) \
diff --git a/gdk/Makefile.am b/gdk/Makefile.am
index 5b321b1..ff2c0e0 100644
--- a/gdk/Makefile.am
+++ b/gdk/Makefile.am
@@ -33,10 +33,7 @@ common_includes = \
$(GDK_CFLAGS) \
$(GTK_CFLAGS) \
$(GL_CFLAGS) \
- $(GDKGLEXT_WIN_CFLAGS) \
- -DG_DISABLE_DEPRECATED \
- -DGDK_DISABLE_DEPRECATED \
- -DGDK_PIXBUF_DISABLE_DEPRECATED
+ $(GDKGLEXT_WIN_CFLAGS)
common_ldflags = \
-version-info $(GTKGLEXT_CURRENT):$(GTKGLEXT_REVISION):$(GTKGLEXT_AGE) \
diff --git a/gdk/win32/Makefile.am b/gdk/win32/Makefile.am
index c8d706f..81dd064 100644
--- a/gdk/win32/Makefile.am
+++ b/gdk/win32/Makefile.am
@@ -12,10 +12,7 @@ AM_CPPFLAGS = \
$(GDK_CFLAGS) \
$(GL_CFLAGS) \
$(GDKGLEXT_WIN_CFLAGS) \
- $(PANGOWIN32_CFLAGS) \
- -DG_DISABLE_DEPRECATED \
- -DGDK_DISABLE_DEPRECATED \
- -DGDK_PIXBUF_DISABLE_DEPRECATED
+ $(PANGOWIN32_CFLAGS)
gdkglext_win32_public_h_sources = \
gdkglwin32.h \
diff --git a/gdk/x11/Makefile.am b/gdk/x11/Makefile.am
index 15bb7e1..a3bb76f 100644
--- a/gdk/x11/Makefile.am
+++ b/gdk/x11/Makefile.am
@@ -11,10 +11,7 @@ AM_CPPFLAGS = \
$(GTKGLEXT_DEBUG_FLAGS) \
$(GDK_CFLAGS) \
$(GL_CFLAGS) \
- $(GDKGLEXT_WIN_CFLAGS) \
- -DG_DISABLE_DEPRECATED \
- -DGDK_DISABLE_DEPRECATED \
- -DGDK_PIXBUF_DISABLE_DEPRECATED
+ $(GDKGLEXT_WIN_CFLAGS)
gdkglext_x11_public_h_sources = \
gdkglx.h \
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index 28f0611..a633585 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -30,11 +30,7 @@ common_includes = \
$(GTKGLEXT_DEBUG_FLAGS) \
$(GTK_CFLAGS) \
$(GL_CFLAGS) \
- $(GDKGLEXT_WIN_CFLAGS) \
- -DG_DISABLE_DEPRECATED \
- -DGDK_DISABLE_DEPRECATED \
- -DGDK_PIXBUF_DISABLE_DEPRECATED \
- -DGTK_DISABLE_DEPRECATED
+ $(GDKGLEXT_WIN_CFLAGS)
common_ldflags = \
-version-info $(GTKGLEXT_CURRENT):$(GTKGLEXT_REVISION):$(GTKGLEXT_AGE) \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]