Remove some GTK_DISABLE_DEPRECATED and ENABLE_BROKEN guards

This commit is contained in:
Javier Jardón 2010-06-07 04:39:21 +02:00
parent 47f8beb0a6
commit da8643e457
19 changed files with 1 additions and 34 deletions

View File

@ -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"

View File

@ -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

View File

@ -1,6 +1,5 @@
/*** BEGIN file-header ***/
#undef GTK_DISABLE_DEPRECATED
#define GTK_ENABLE_BROKEN
#include "gtk.h"
#include "gtkprivate.h"
#include "gtkalias.h"

View File

@ -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>

View File

@ -29,8 +29,6 @@
* - More tests!
*/
#define GTK_FILE_SYSTEM_ENABLE_UNSUPPORTED
#undef GTK_DISABLE_DEPRECATED
#define SLEEP_DURATION 100
#include "config.h"

View File

@ -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

View File

@ -22,8 +22,6 @@
#include <stdio.h>
#include <stdlib.h>
#undef GTK_DISABLE_DEPRECATED
#include <gtk/gtk.h>
#include "gail.h"
#include "gailfactory.h"

View File

@ -21,8 +21,6 @@
#include <string.h>
#undef GTK_DISABLE_DEPRECATED
#include <gtk/gtk.h>
#include "gailitem.h"
#include <libgail-util/gailmisc.h>

View File

@ -21,8 +21,6 @@
#include <string.h>
#undef GTK_DISABLE_DEPRECATED
#include <gtk/gtk.h>
#include "gaillabel.h"
#include "gailwindow.h"

View File

@ -19,8 +19,6 @@
#include "config.h"
#undef GTK_DISABLE_DEPRECATED
#include "gailmenu.h"
static void gail_menu_class_init (GailMenuClass *klass);

View File

@ -22,8 +22,6 @@
#include <stdlib.h>
#include <string.h>
#undef GTK_DISABLE_DEPRECATED
#include <gtk/gtk.h>
#include "gailtoplevel.h"

View File

@ -21,8 +21,6 @@
#include <string.h>
#undef GTK_DISABLE_DEPRECATED
#include <gtk/gtk.h>
#ifdef GDK_WINDOWING_X11
#include <gdk/x11/gdkx.h>

View File

@ -21,8 +21,6 @@
#include <string.h>
#undef GTK_DISABLE_DEPRECATED
#include <gtk/gtk.h>
#include "gailwindow.h"

View File

@ -1,6 +1,4 @@
#define MAX_BUFFER 256
#undef GTK_DISABLE_DEPRECATED
#define GTK_ENABLE_BROKEN
#define MAX_GROUPS 20
#define MAX_NAME_VALUE 20

View File

@ -1,5 +1,3 @@
#undef GTK_DISABLE_DEPRECATED
#include <gtk/gtk.h>
#include "testlib.h"

View File

@ -39,7 +39,6 @@
#include <unistd.h>
#endif
#define GTK_ENABLE_BROKEN
#include "gtk/gtk.h"
#include "gdk/gdk.h"
#include "gdk/gdkkeysyms.h"

View File

@ -2,8 +2,6 @@
* testoffscreen.c
*/
#undef GTK_DISABLE_DEPRECATED
#include <math.h>
#include <gtk/gtk.h>
#include "gtkoffscreenbox.h"

View File

@ -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 {

View File

@ -25,8 +25,6 @@
#include <stdlib.h>
#include <string.h>
#undef GTK_DISABLE_DEPRECATED
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>