summaryrefslogtreecommitdiff
path: root/gtk/gtkselection.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2001-10-18 20:23:17 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2001-10-18 20:23:17 +0000
commit73e845eeab67d9f63c45c42c9e77ddbe1341df6d (patch)
treeebb52c579c6728892946e706056e9420539b07bd /gtk/gtkselection.c
parent65bcfc1165a1ee7f78d3907dda35b3f29600ed76 (diff)
downloadgdk-pixbuf-73e845eeab67d9f63c45c42c9e77ddbe1341df6d.tar.gz
Add gdk_window_lookup, gdk_window_foreign_new, gdk_pixmap_lookup and
* gdk/gdkwindow.h, gdk/gdkpixmap.h, gdk/x11/gdkx.h, gdk/x11/gdkwindow-x11.c, gdk/x11/gdkpixmap-x11.c, gdk/win32/gdkwin32.h, gdk/win32/gdkwindow-win32.c, gdk/win32/gdkpixmap-win32.c, gdk/linux-fb/gdkfb.h, gdk/linux-fb/gdkwindow-fb.c, gdk/linux-fb/gdkpixmap-fb.c: Add gdk_window_lookup, gdk_window_foreign_new, gdk_pixmap_lookup and gkd_pixmap_foreign_new to the gdk frontend api. (#62063) * gtk/gtkselection.c: Remove gdk backend dependencies. (#62063)
Diffstat (limited to 'gtk/gtkselection.c')
-rw-r--r--gtk/gtkselection.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/gtk/gtkselection.c b/gtk/gtkselection.c
index 59755285c..5b7d39160 100644
--- a/gtk/gtkselection.c
+++ b/gtk/gtkselection.c
@@ -55,14 +55,6 @@
#include <string.h>
#include "gdk.h"
-#if defined (GDK_WINDOWING_X11)
-#include "x11/gdkx.h" /* For gdk_window_lookup() */
-#elif defined (GDK_WINDOWING_WIN32)
-#include "win32/gdkwin32.h" /* For gdk_window_lookup() */
-#elif defined (GDK_WINDOWING_FB)
-#include "linux-fb/gdkfb.h" /* For gdk_window_lookup() */
-#endif
-
#include "gtkmain.h"
#include "gtkselection.h"
#include "gtksignal.h"
@@ -979,14 +971,9 @@ gtk_selection_request (GtkWidget *widget,
info->num_incrs = 0;
/* Create GdkWindow structure for the requestor */
-
-#if defined(GDK_WINDOWING_WIN32) || defined(GDK_WINDOWING_X11) || defined(GDK_WINDOWING_FB)
info->requestor = gdk_window_lookup (event->requestor);
if (!info->requestor)
info->requestor = gdk_window_foreign_new (event->requestor);
-#else
- info->requestor = NULL;
-#endif
/* Determine conversions we need to perform */