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
This commit is contained in:

committed by
Michael Natterer

parent
dbd5b75e5e
commit
aa435e024a
@ -27,7 +27,10 @@
|
||||
#include "config.h"
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
|
||||
#undef GTK_DISABLE_DEPRECATED
|
||||
#define __GTK_PROGRESS_C__
|
||||
|
||||
#include "gtkprogress.h"
|
||||
#include "gtkprivate.h"
|
||||
#include "gtkintl.h"
|
||||
@ -707,5 +710,4 @@ gtk_progress_set_activity_mode (GtkProgress *progress,
|
||||
}
|
||||
}
|
||||
|
||||
#define __GTK_PROGRESS_C__
|
||||
#include "gtkaliasdef.c"
|
||||
|
Reference in New Issue
Block a user