introspection: the old API in Gtk-2.0.gir again
Since f0d1c05ea the scanner got -DGTK_DISABLE_DEPRECATED, and
gtktextlayout.h, gtkprivate.h and gtkmarshal.h were left out, so
Gtk-2.0.gir lost everything deprecated that 2.24.33 had in it: GtkCList,
GtkCTree, GtkOptionMenu, GtkComboBoxEntry, the rulers, GtkItemFactory,
gtk_signal_*, GtkTextLayout... 592 functions and types. Programs in
Python or JavaScript that still use them broke.
The scanner gets -UGDK_DISABLE_DEPRECATED -UGTK_DISABLE_DEPRECATED again
as before, and the headers come back; the warnings that came with them
are fixed by the annotations of the commit before.
This commit is contained in:
parent
c9aafbc940
commit
fd5c1f403f
1 changed files with 3 additions and 2 deletions
|
|
@ -1133,11 +1133,12 @@ Gtk_2_0_gir_CFLAGS = \
|
|||
-I$(top_builddir)/gtk \
|
||||
-DGTK_COMPILATION \
|
||||
$(AM_CPPFLAGS) \
|
||||
-DGTK_DISABLE_DEPRECATED \
|
||||
-UGDK_DISABLE_DEPRECATED \
|
||||
-UGTK_DISABLE_DEPRECATED \
|
||||
-DGTK_TEXT_USE_INTERNAL_UNSUPPORTED_API
|
||||
Gtk_2_0_gir_LIBS = $(gtktargetlib) $(top_builddir)/gdk/$(gdktargetlib)
|
||||
Gtk_2_0_gir_FILES = \
|
||||
$(filter-out gtkprivate.h gtkpixdatautils.h gtktextlayout.h gtkmarshal.h, \
|
||||
$(filter-out gtkpixdatautils.h, \
|
||||
$(introspection_files))
|
||||
Gtk-2.0.gir: $(gtktargetlib)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue