$NetBSD: patch-aa,v 1.1 2004/04/17 00:26:48 rh Exp $ --- GToolKit/GToolKit.m.orig 2002-02-22 01:43:52.000000000 +1000 +++ GToolKit/GToolKit.m @@ -2550,6 +2550,17 @@ #include #include +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include +#include +#include +#if defined (DEBUG) && defined (HAVE_OBJC_OBJC_API_H) +#include +#endif + @implementation GTKItemFactory + (GtkType) getType { @@ -2651,17 +2662,6 @@ { gtk_item_factory_set_translate_func(gtk, func , data , notify); } -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#include -#include -#include -#if defined (DEBUG) && defined (HAVE_OBJC_OBJC_API_H) -#include -#endif - static void item_forward_signal (gpointer data, guint action, GtkWidget *widget) { @@ -6376,6 +6376,10 @@ static void destroy_notify (GTKObject *s #include #include +#include +#include +#include + @implementation GTKWindow + (GtkType) getType { @@ -6437,10 +6441,6 @@ static void destroy_notify (GTKObject *s { gtk_window_set_modal(gtk, modal); } -#include -#include -#include - NSString *GTKWindowDidBecomeMainNotification = @"GTKWindowDidBecomeMain"; NSString *GTKWindowDidResignMainNotification = @"GTKWindowDidResignMain";