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
@ -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"
|
||||
|
||||
Reference in New Issue
Block a user