diff --git a/gtk/gtkplug.c b/gtk/gtkplug.c index 8fbcfbd820..512d234b12 100644 --- a/gtk/gtkplug.c +++ b/gtk/gtkplug.c @@ -59,9 +59,16 @@ * Any widgets contained in the #GtkPlug then will appear * inside the first application's window. * + * The communication between a #GtkSocket and a #GtkPlug follows the + * XEmbed + * protocol. This protocol has also been implemented in other toolkits, e.g. + * Qt, allowing the same level of integration + * when embedding a Qt widget in GTK or vice versa. + * * - * The #GtkPlug and #GtkSocket widgets are currently not available - * on all platforms supported by GTK+. + * The #GtkPlug and #GtkSocket widgets are only available when GTK is + * compiled for the X11 platform and %GDK_WINDOWING_X11 is defined. + * They can only be used on a #GdkX11Display. * */ diff --git a/gtk/gtksocket.c b/gtk/gtksocket.c index 016c6073b4..263972de7e 100644 --- a/gtk/gtksocket.c +++ b/gtk/gtksocket.c @@ -109,8 +109,9 @@ * when embedding a Qt widget in GTK or vice versa. * * - * The #GtkPlug and #GtkSocket widgets are currently not available - * on all platforms supported by GTK+. + * The #GtkPlug and #GtkSocket widgets are only available when GTK is + * compiled for the X11 platform and %GDK_WINDOWING_X11 is defined. + * They can only be used on a #GdkX11Display. * */