forked from AuroraMiddleware/gtk
socket: Don't include gtk.h
And fix remaining headers to not emit warnings
This commit is contained in:
parent
c1867761ca
commit
3332492281
@ -34,6 +34,7 @@
|
||||
#include "gtkprivate.h"
|
||||
#include "gtksocketprivate.h"
|
||||
#include "gtkwidgetprivate.h"
|
||||
#include "gtkwindowgroup.h"
|
||||
#include "gtkwindowprivate.h"
|
||||
#include "gtkxembed.h"
|
||||
|
||||
|
@ -36,7 +36,7 @@
|
||||
#include <gdk/gdkx.h>
|
||||
|
||||
#include <gtk/gtksocket.h>
|
||||
|
||||
#include <gtk/gtkwindow.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
@ -29,12 +29,12 @@
|
||||
#error "Only <gtk/gtkx.h> can be included directly."
|
||||
#endif
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#ifdef GDK_WINDOWING_X11
|
||||
|
||||
#include <gdk/gdkx.h>
|
||||
|
||||
#include <gtk/gtkcontainer.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define GTK_TYPE_SOCKET (gtk_socket_get_type ())
|
||||
|
@ -20,6 +20,8 @@
|
||||
|
||||
#define __GTKX_H_INSIDE__
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include <gtk/gtksocket.h>
|
||||
#include <gtk/gtkplug.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user