Commit 33324922 authored by Benjamin Otte's avatar Benjamin Otte

socket: Don't include gtk.h

And fix remaining headers to not emit warnings
parent c1867761
......@@ -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>
......
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