diff options
author | Benjamin Otte <otte@redhat.com> | 2011-01-28 10:47:34 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2011-01-28 17:06:06 +0100 |
commit | 3860af516c0119d93ccfa5c138f32e20e490c2a9 (patch) | |
tree | 0fae98a2bf13102910339407e4046e9e57d67fd7 /gtk/gtkplug.h | |
parent | d2540893086c46bad4c12071d31dfe86750949fe (diff) | |
download | gtk+-3860af516c0119d93ccfa5c138f32e20e490c2a9.tar.gz |
plug/socket: Make GtkPlug and GtkSocket X11-specific
People agreed that it doesn't make sense to make an xembed
implementation like plug/socket does not make sense on anything but X11.
And as GdkNativeWindow is going away for multibackend portability
reasons, we'd either need API fixes in the plug-socket codee or
constrain the widgets to a single backend. We chose the latter.
Diffstat (limited to 'gtk/gtkplug.h')
-rw-r--r-- | gtk/gtkplug.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkplug.h b/gtk/gtkplug.h index 679c065463..d75850c357 100644 --- a/gtk/gtkplug.h +++ b/gtk/gtkplug.h @@ -30,6 +30,10 @@ #ifndef __GTK_PLUG_H__ #define __GTK_PLUG_H__ +#include <gdk/gdk.h> + +#ifdef GDK_WINDOWING_X11 + #include <gtk/gtksocket.h> #include <gtk/gtkwindow.h> @@ -98,4 +102,6 @@ void _gtk_plug_remove_from_socket (GtkPlug *plug, G_END_DECLS +#endif /* GDK_WINDOWING_X11 */ + #endif /* __GTK_PLUG_H__ */ |