diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2002-02-16 23:52:30 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2002-02-16 23:52:30 +0000 |
commit | b3d5f148e6c0e2cb688403655c7800b762e33602 (patch) | |
tree | 1056439dd24e464adbabc5c374182a886c669345 /examples/gtkdial/Makefile | |
parent | 554838e4f602d59f5be241d1da188934d51d49c3 (diff) | |
download | gtk+-b3d5f148e6c0e2cb688403655c7800b762e33602.tar.gz |
More work on #71430.
* examples/*/Makefile (CFLAGS): add deprecation guards.
* docs/tutorial/gtk-tut.sgml, examples/*/*.c: make most examples
deprecation-clean; the major offenders right now are the examples
that make heavy use of completely deprecated or broken widgets:
list, tree, text, pixmap, paned and progressbar. These will have
to be redone from scratch.
* demos/Makefile.am (INCLUDES): add -DGDK_PIXBUF_DISABLE_DEPRECATED.
Diffstat (limited to 'examples/gtkdial/Makefile')
-rw-r--r-- | examples/gtkdial/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/examples/gtkdial/Makefile b/examples/gtkdial/Makefile index 1c388104e2..0f83a9df03 100644 --- a/examples/gtkdial/Makefile +++ b/examples/gtkdial/Makefile @@ -1,14 +1,20 @@ CC = gcc +CFLAGS = -Wall \ + -DG_DISABLE_DEPRECATED \ + -DGDK_DISABLE_DEPRECATED \ + -DGDK_PIXBUF_DISABLE_DEPRECATED \ + -DGTK_DISABLE_DEPRECATED + dial_test: gtkdial.o dial_test.o $(CC) dial_test.o gtkdial.o -o dial_test `pkg-config --libs gtk+-2.0` dial_test.o: dial_test.c gtkdial.h - $(CC) `pkg-config --cflags gtk+-2.0` -c dial_test.c -o dial_test.o + $(CC) -c dial_test.c -o dial_test.o $(CFLAGS) `pkg-config gtk+-2.0 --cflags` gtkdial.o: gtkdial.c gtkdial.h - $(CC) `pkg-config --cflags gtk+-2.0` -c gtkdial.c -o gtkdial.o + $(CC) -c gtkdial.c -o gtkdial.o $(CFLAGS) `pkg-config gtk+-2.0 --cflags` clean: rm -f *.o dial_test |