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/arrow | |
parent | 554838e4f602d59f5be241d1da188934d51d49c3 (diff) | |
download | gdk-pixbuf-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/arrow')
-rw-r--r-- | examples/arrow/Makefile | 8 | ||||
-rw-r--r-- | examples/arrow/arrow.c | 2 |
2 files changed, 7 insertions, 3 deletions
diff --git a/examples/arrow/Makefile b/examples/arrow/Makefile index 34904d491..08afc28ca 100644 --- a/examples/arrow/Makefile +++ b/examples/arrow/Makefile @@ -1,8 +1,14 @@ CC = gcc +CFLAGS = -Wall \ + -DG_DISABLE_DEPRECATED \ + -DGDK_DISABLE_DEPRECATED \ + -DGDK_PIXBUF_DISABLE_DEPRECATED \ + -DGTK_DISABLE_DEPRECATED + arrow: arrow.c - $(CC) `pkg-config --cflags gtk+-2.0` arrow.c -o arrow `pkg-config --libs gtk+-2.0` + $(CC) arrow.c -o arrow $(DEPRECTATED) `pkg-config gtk+-2.0 --cflags --libs` clean: rm -f *.o arrow diff --git a/examples/arrow/arrow.c b/examples/arrow/arrow.c index 69cb49c43..884bc4752 100644 --- a/examples/arrow/arrow.c +++ b/examples/arrow/arrow.c @@ -1,4 +1,3 @@ -/* example-start arrow arrow.c */ #include <gtk/gtk.h> @@ -71,4 +70,3 @@ int main( int argc, return(0); } -/* example-end */ |