Commit bd69ea0a authored by Michael Natterer's avatar Michael Natterer Committed by Michael Natterer

build with GTK_DISABLE_DEPRECATED.

2008-06-17  Michael Natterer  <mitch@imendio.com>

	* gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED.

	* gtk/gtkclist.c
	* gtk/gtkcombo.c
	* gtk/gtkctree.c
	* gtk/gtklist.c
	* gtk/gtklistitem.c
	* gtk/gtkoldeditable.c
	* gtk/gtkpixmap.c
	* gtk/gtktext.c
	* gtk/gtktipsquery.c
	* gtk/gtktree.c
	* gtk/gtktreeitem.c: whenever we #undef GTK_DISABLE_DEPRECATED and
	actually use deprecated symbols (not just types or macros),
	#define it again before #include "gtkalias.h" so the symbols match
	and the beast links.


svn path=/trunk/; revision=20433
parent 96d61db4
2008-06-17 Michael Natterer <mitch@imendio.com>
* gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED.
* gtk/gtkclist.c
* gtk/gtkcombo.c
* gtk/gtkctree.c
* gtk/gtklist.c
* gtk/gtklistitem.c
* gtk/gtkoldeditable.c
* gtk/gtkpixmap.c
* gtk/gtktext.c
* gtk/gtktipsquery.c
* gtk/gtktree.c
* gtk/gtktreeitem.c: whenever we #undef GTK_DISABLE_DEPRECATED and
actually use deprecated symbols (not just types or macros),
#define it again before #include "gtkalias.h" so the symbols match
and the beast links.
2008-06-17 Paolo Borelli <pborelli@katamail.com>
* gtk/tests/recentmanager.c: more tests for GtkRecentManager.
......
......@@ -35,6 +35,7 @@ INCLUDES = \
-I$(top_srcdir)/gdk-pixbuf -I../gdk-pixbuf \
-DGDK_PIXBUF_DISABLE_DEPRECATED \
-DGDK_DISABLE_DEPRECATED \
-DGTK_DISABLE_DEPRECATED \
-DGTK_FILE_SYSTEM_ENABLE_UNSUPPORTED \
-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED \
$(GTK_DEBUG_FLAGS) \
......
......@@ -25,14 +25,17 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
#undef GDK_DISABLE_DEPRECATED
#undef GTK_DISABLE_DEPRECATED
#include <config.h>
#include <stdlib.h>
#include <string.h>
#undef GDK_DISABLE_DEPRECATED
#include <gdk/gdkkeysyms.h>
#undef GTK_DISABLE_DEPRECATED
#include "gtkmain.h"
#include "gtkobject.h"
#include "gtkctree.h"
......@@ -41,7 +44,8 @@
#include "gtkdnd.h"
#include "gtkmarshalers.h"
#include "gtkintl.h"
#include <gdk/gdkkeysyms.h>
#define GTK_DISABLE_DEPRECATED
#include "gtkalias.h"
/* length of button_actions array */
......
......@@ -33,6 +33,8 @@
#include <config.h>
#include <string.h>
#include <gdk/gdkkeysyms.h>
#include "gtkarrow.h"
#include "gtklabel.h"
#include "gtklist.h"
......@@ -43,11 +45,12 @@
#include "gtkscrolledwindow.h"
#include "gtkmain.h"
#include "gtkwindow.h"
#include "gdk/gdkkeysyms.h"
#include "gtkcombo.h"
#include "gtkframe.h"
#include "gtkprivate.h"
#include "gtkintl.h"
#define GTK_DISABLE_DEPRECATED
#include "gtkalias.h"
static const gchar gtk_combo_string_key[] = "gtk-combo-string-value";
......
......@@ -40,6 +40,8 @@
#include "gtkdnd.h"
#include "gtkintl.h"
#include <gdk/gdkkeysyms.h>
#define GTK_DISABLE_DEPRECATED
#include "gtkalias.h"
#define PM_SIZE 8
......
......@@ -36,6 +36,8 @@
#include "gtklabel.h"
#include "gtkmarshalers.h"
#include "gtkintl.h"
#define GTK_DISABLE_DEPRECATED
#include "gtkalias.h"
enum {
......
......@@ -24,9 +24,12 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
#include <config.h>
#include <gdk/gdkkeysyms.h>
#undef GTK_DISABLE_DEPRECATED
#include <config.h>
#include "gtkbindings.h"
#include "gtklabel.h"
#include "gtklistitem.h"
......@@ -34,7 +37,8 @@
#include "gtkmarshalers.h"
#include "gtksignal.h"
#include "gtkintl.h"
#include <gdk/gdkkeysyms.h>
#define GTK_DISABLE_DEPRECATED
#include "gtkalias.h"
......
......@@ -37,6 +37,8 @@
#include "gtkselection.h"
#include "gtksignal.h"
#include "gtkintl.h"
#define GTK_DISABLE_DEPRECATED
#include "gtkalias.h"
#define MIN_EDITABLE_WIDTH 150
......
......@@ -35,6 +35,8 @@
#include "gtkcontainer.h"
#include "gtkpixmap.h"
#include "gtkintl.h"
#define GTK_DISABLE_DEPRECATED
#include "gtkalias.h"
......
......@@ -24,14 +24,18 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
#undef GDK_DISABLE_DEPRECATED
#undef GTK_DISABLE_DEPRECATED
#include <config.h>
#include <ctype.h>
#include <string.h>
#undef GDK_DISABLE_DEPRECATED
#include "gdk/gdkkeysyms.h"
#include "gdk/gdki18n.h"
#undef GTK_DISABLE_DEPRECATED
#include "gtkmain.h"
#include "gtkmarshalers.h"
#include "gtkselection.h"
......@@ -43,6 +47,8 @@
#include "line-arrow.xbm"
#include "gtkprivate.h"
#include "gtkintl.h"
#define GTK_DISABLE_DEPRECATED
#include "gtkalias.h"
......
......@@ -29,13 +29,15 @@
#undef GTK_DISABLE_DEPRECATED
#include <config.h>
#include "gtktipsquery.h"
#include "gtksignal.h"
#include "gtktooltips.h"
#include "gtkmain.h"
#include "gtkmarshalers.h"
#include "gtkintl.h"
#include <config.h>
#include "gtktipsquery.h"
#include "gtksignal.h"
#include "gtktooltips.h"
#include "gtkmain.h"
#include "gtkmarshalers.h"
#include "gtkintl.h"
#define GTK_DISABLE_DEPRECATED
#include "gtkalias.h"
......
......@@ -36,6 +36,8 @@
#include "gtktree.h"
#include "gtktreeitem.h"
#include "gtkintl.h"
#define GTK_DISABLE_DEPRECATED
#include "gtkalias.h"
enum {
......
......@@ -27,6 +27,7 @@
#undef GTK_DISABLE_DEPRECATED
#include <config.h>
#include "gtklabel.h"
#include "gtkeventbox.h"
#include "gtkpixmap.h"
......@@ -37,6 +38,8 @@
#include "gtktree.h"
#include "gtktreeitem.h"
#include "gtkintl.h"
#define GTK_DISABLE_DEPRECATED
#include "gtkalias.h"
#include "tree_plus.xpm"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment