Commit da8643e4 authored by Javier Jardón's avatar Javier Jardón

Remove some GTK_DISABLE_DEPRECATED and ENABLE_BROKEN guards

parent 47f8beb0
......@@ -31,7 +31,6 @@
#include <gobject/gvaluecollector.h>
#include "gtkgc.h"
#include "gtkmarshalers.h"
#undef GTK_DISABLE_DEPRECATED
#include "gtkrc.h"
#include "gtkspinbutton.h"
#include "gtkstyle.h"
......
......@@ -19,7 +19,6 @@
*/
/* need to get the prototypes of all get_type functions */
#define GTK_ENABLE_BROKEN
#undef GTK_DISABLE_DEPRECATED
/* Need to get GDK_WINDOW_OBJECT */
#undef GDK_DISABLE_DEPRECATED
......
/*** BEGIN file-header ***/
#undef GTK_DISABLE_DEPRECATED
#define GTK_ENABLE_BROKEN
#include "gtk.h"
#include "gtkprivate.h"
#include "gtkalias.h"
......
......@@ -18,8 +18,6 @@
* Boston, MA 02111-1307, USA.
*/
#undef GTK_DISABLE_DEPRECATED
#define GTK_ENABLE_BROKEN
#include <string.h>
#include <gtk/gtk.h>
#include <gtk/gtkunixprint.h>
......
......@@ -29,8 +29,6 @@
* - More tests!
*/
#define GTK_FILE_SYSTEM_ENABLE_UNSUPPORTED
#undef GTK_DISABLE_DEPRECATED
#define SLEEP_DURATION 100
#include "config.h"
......
......@@ -16,8 +16,7 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#undef GTK_DISABLE_DEPRECATED
#include "../gtk/gtk.h"
#include <gtk/gtk.h>
static gboolean destroyed = FALSE;
static void
......
......@@ -22,8 +22,6 @@
#include <stdio.h>
#include <stdlib.h>
#undef GTK_DISABLE_DEPRECATED
#include <gtk/gtk.h>
#include "gail.h"
#include "gailfactory.h"
......
......@@ -21,8 +21,6 @@
#include <string.h>
#undef GTK_DISABLE_DEPRECATED
#include <gtk/gtk.h>
#include "gailitem.h"
#include <libgail-util/gailmisc.h>
......
......@@ -21,8 +21,6 @@
#include <string.h>
#undef GTK_DISABLE_DEPRECATED
#include <gtk/gtk.h>
#include "gaillabel.h"
#include "gailwindow.h"
......
......@@ -19,8 +19,6 @@
#include "config.h"
#undef GTK_DISABLE_DEPRECATED
#include "gailmenu.h"
static void gail_menu_class_init (GailMenuClass *klass);
......
......@@ -22,8 +22,6 @@
#include <stdlib.h>
#include <string.h>
#undef GTK_DISABLE_DEPRECATED
#include <gtk/gtk.h>
#include "gailtoplevel.h"
......
......@@ -21,8 +21,6 @@
#include <string.h>
#undef GTK_DISABLE_DEPRECATED
#include <gtk/gtk.h>
#ifdef GDK_WINDOWING_X11
#include <gdk/x11/gdkx.h>
......
......@@ -21,8 +21,6 @@
#include <string.h>
#undef GTK_DISABLE_DEPRECATED
#include <gtk/gtk.h>
#include "gailwindow.h"
......
#define MAX_BUFFER 256
#undef GTK_DISABLE_DEPRECATED
#define GTK_ENABLE_BROKEN
#define MAX_GROUPS 20
#define MAX_NAME_VALUE 20
......
#undef GTK_DISABLE_DEPRECATED
#include <gtk/gtk.h>
#include "testlib.h"
......
......@@ -39,7 +39,6 @@
#include <unistd.h>
#endif
#define GTK_ENABLE_BROKEN
#include "gtk/gtk.h"
#include "gdk/gdk.h"
#include "gdk/gdkkeysyms.h"
......
......@@ -2,8 +2,6 @@
* testoffscreen.c
*/
#undef GTK_DISABLE_DEPRECATED
#include <math.h>
#include <gtk/gtk.h>
#include "gtkoffscreenbox.h"
......
......@@ -24,12 +24,10 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
#undef GTK_DISABLE_DEPRECATED
#include "config.h"
#include <stdio.h>
#include <string.h>
#define GTK_ENABLE_BROKEN
#include "gtk/gtk.h"
typedef enum {
......
......@@ -25,8 +25,6 @@
#include <stdlib.h>
#include <string.h>
#undef GTK_DISABLE_DEPRECATED
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
......
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