socket: Don't include gtk.h

And fix remaining headers to not emit warnings
This commit is contained in:
Benjamin Otte 2014-07-12 04:46:20 +02:00
parent c1867761ca
commit 3332492281
4 changed files with 6 additions and 3 deletions

View File

@ -34,6 +34,7 @@
#include "gtkprivate.h"
#include "gtksocketprivate.h"
#include "gtkwidgetprivate.h"
#include "gtkwindowgroup.h"
#include "gtkwindowprivate.h"
#include "gtkxembed.h"

View File

@ -36,7 +36,7 @@
#include <gdk/gdkx.h>
#include <gtk/gtksocket.h>
#include <gtk/gtkwindow.h>
G_BEGIN_DECLS

View File

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

View File

@ -20,6 +20,8 @@
#define __GTKX_H_INSIDE__
#include <gtk/gtk.h>
#include <gtk/gtksocket.h>
#include <gtk/gtkplug.h>