+2001-04-23 Sven Neumann <sven@gimp.org>
+
+ * gtk/Makefile.am
+ * gtk/gtkplug.c
+ * gtk/gtksocket.c: on request of Owen, reverted my last change
+ and exclude gtkplug.c/gtksocket.c from the build for non-X11 targets
+
2001-04-23 Sven Neumann <sven@gimp.org>
* gtk/gtkplug.c: put into #ifdef GDK_WINDOWING_X11 to make GTK+
+2001-04-23 Sven Neumann <sven@gimp.org>
+
+ * gtk/Makefile.am
+ * gtk/gtkplug.c
+ * gtk/gtksocket.c: on request of Owen, reverted my last change
+ and exclude gtkplug.c/gtksocket.c from the build for non-X11 targets
+
2001-04-23 Sven Neumann <sven@gimp.org>
* gtk/gtkplug.c: put into #ifdef GDK_WINDOWING_X11 to make GTK+
+2001-04-23 Sven Neumann <sven@gimp.org>
+
+ * gtk/Makefile.am
+ * gtk/gtkplug.c
+ * gtk/gtksocket.c: on request of Owen, reverted my last change
+ and exclude gtkplug.c/gtksocket.c from the build for non-X11 targets
+
2001-04-23 Sven Neumann <sven@gimp.org>
* gtk/gtkplug.c: put into #ifdef GDK_WINDOWING_X11 to make GTK+
+2001-04-23 Sven Neumann <sven@gimp.org>
+
+ * gtk/Makefile.am
+ * gtk/gtkplug.c
+ * gtk/gtksocket.c: on request of Owen, reverted my last change
+ and exclude gtkplug.c/gtksocket.c from the build for non-X11 targets
+
2001-04-23 Sven Neumann <sven@gimp.org>
* gtk/gtkplug.c: put into #ifdef GDK_WINDOWING_X11 to make GTK+
+2001-04-23 Sven Neumann <sven@gimp.org>
+
+ * gtk/Makefile.am
+ * gtk/gtkplug.c
+ * gtk/gtksocket.c: on request of Owen, reverted my last change
+ and exclude gtkplug.c/gtksocket.c from the build for non-X11 targets
+
2001-04-23 Sven Neumann <sven@gimp.org>
* gtk/gtkplug.c: put into #ifdef GDK_WINDOWING_X11 to make GTK+
+2001-04-23 Sven Neumann <sven@gimp.org>
+
+ * gtk/Makefile.am
+ * gtk/gtkplug.c
+ * gtk/gtksocket.c: on request of Owen, reverted my last change
+ and exclude gtkplug.c/gtksocket.c from the build for non-X11 targets
+
2001-04-23 Sven Neumann <sven@gimp.org>
* gtk/gtkplug.c: put into #ifdef GDK_WINDOWING_X11 to make GTK+
+2001-04-23 Sven Neumann <sven@gimp.org>
+
+ * gtk/Makefile.am
+ * gtk/gtkplug.c
+ * gtk/gtksocket.c: on request of Owen, reverted my last change
+ and exclude gtkplug.c/gtksocket.c from the build for non-X11 targets
+
2001-04-23 Sven Neumann <sven@gimp.org>
* gtk/gtkplug.c: put into #ifdef GDK_WINDOWING_X11 to make GTK+
gtkpacker.c \
gtkpaned.c \
gtkpixmap.c \
- gtkplug.c \
gtkpreview.c \
gtkprogress.c \
gtkprogressbar.c \
gtkseparator.c \
gtksettings.c \
gtksignal.c \
- gtksocket.c \
gtkspinbutton.c \
gtkstock.c \
gtkstyle.c \
xembed.h \
@STRIP_END@
+if USE_X11
+gtk_plug_c_sources = @STRIP_BEGIN@ \
+ gtkplug.c \
+ gtksocket.c
+@STRIP_END@
+endif
+
# we use our own built_sources variable rules to avoid automake's
# BUILT_SOURCES oddities
# we generate frequently rebuild files piggyback on a stamp file, so sources
# setup GTK+ sources and their dependancies
#
gtk_target_headers = $(gtk_public_h_sources) $(gtk_built_public_sources) gtkcompat.h
-gtk_target_sources = $(gtk_c_sources)
+gtk_target_sources = $(gtk_c_sources) $(gtk_plug_c_sources)
MAINTAINERCLEANFILES += $(gtk_built_sources)
EXTRA_HEADERS +=
EXTRA_DIST += $(gtk_private_h_sources) $(gtk_extra_sources)
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
-#include "gdkconfig.h"
-
-#ifdef GDK_WINDOWING_X11
-
#include "gtkmain.h"
#include "gtkplug.h"
return GDK_FILTER_CONTINUE;
}
-
-#endif /* GDK_WINDOWING */
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
-#include "gdkconfig.h"
-
-#if defined (GDK_WINDOWING_X11)
-#include "x11/gdkx.h"
-#elif defined (GDK_WINDOWING_WIN32)
-#include "win32/gdkwin32.h"
-#elif defined(GDK_WINDOWING_FB)
-#include "linux-fb/gdkfb.h"
-#endif
-
#include "gdk/gdkkeysyms.h"
#include "gtkmain.h"
#include "gtkwindow.h"
#include "gtksocket.h"
#include "gtkdnd.h"
-#include "xembed.h"
+#include "x11/gdkx.h"
-#ifdef GDK_WINDOWING_X11
+#include "xembed.h"
/* Forward declararations */
GDK_WINDOW_XWINDOW (toplevel->window),
RevertToParent, CurrentTime); /* FIXME? */
}
-#endif
- }
+#endif }
return_val = GDK_FILTER_REMOVE;
break;
case FocusOut:
return return_val;
}
-
-#else
-
-GtkType
-gtk_socket_get_type (void)
-{
- g_error ("GtkSocket not implemented");
- return 0;
-}
-
-GtkWidget*
-gtk_socket_new ()
-{
- g_error ("GtkSocket not implemented");
- return NULL;
-}
-
-void
-gtk_socket_steal (GtkSocket *socket, GdkNativeWindow id)
-{
- g_error ("GtkSocket not implemented");
-}
-
-#endif /* GDK_WINDOWING */