diff options
author | Michael Natterer <mitch@imendio.com> | 2008-08-04 14:38:35 +0000 |
---|---|---|
committer | Michael Natterer <mitch@src.gnome.org> | 2008-08-04 14:38:35 +0000 |
commit | aa435e024aa7c766252f659f2cba8753d1e09e80 (patch) | |
tree | 97946def978731db9ae34d1ed6df0481532ae66c /gtk/gtkprogressbar.c | |
parent | dbd5b75e5ee61738c019550f8f2e8f4c85f5b7f8 (diff) | |
download | gtk+-aa435e024aa7c766252f659f2cba8753d1e09e80.tar.gz |
build with GTK_DISABLE_DEPRECATED again.
2008-08-04 Michael Natterer <mitch@imendio.com>
* gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED again.
Fix pltcheck.sh by restricting the visibility of deprecated
symbols to the places where they are actually used:
* gtk/gtkclist.c
* gtk/gtkctree.c
* gtk/gtklistitem.c
* gtk/gtklist.c
* gtk/gtkprogressbar.c
* gtk/gtkpixmap.c
* gtk/gtkprogress.c: #undef GTK_DISABLE_DEPRECATED and #define
__GTK_FOO_C__ on top instead of before including gtkaliasdef.c.
* gtk/gtkclist.h
* gtk/gtkctree.h
* gtk/gtklistitem.h
* gtk/gtklist.h
* gtk/gtkpixmap.h
* gtk/gtkprogress.h: make the headers visible if the respective
__GTK_FOO_C__ are defined.
svn path=/trunk/; revision=20970
Diffstat (limited to 'gtk/gtkprogressbar.c')
-rw-r--r-- | gtk/gtkprogressbar.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/gtkprogressbar.c b/gtk/gtkprogressbar.c index bf690f2f36..96b316748a 100644 --- a/gtk/gtkprogressbar.c +++ b/gtk/gtkprogressbar.c @@ -28,6 +28,9 @@ #include <string.h> +#undef GTK_DISABLE_DEPRECATED +#define __GTK_PROGRESS_BAR_C__ + #include "gtkprogressbar.h" #include "gtkprivate.h" #include "gtkintl.h" @@ -1378,5 +1381,4 @@ gtk_progress_bar_get_ellipsize (GtkProgressBar *pbar) return pbar->ellipsize; } -#define __GTK_PROGRESS_BAR_C__ #include "gtkaliasdef.c" |