summaryrefslogtreecommitdiff
path: root/gdk/x11/gdkx.h
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 /gdk/x11/gdkx.h
parent65bcfc1165a1ee7f78d3907dda35b3f29600ed76 (diff)
downloadgtk+-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 'gdk/x11/gdkx.h')
-rw-r--r--gdk/x11/gdkx.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/gdk/x11/gdkx.h b/gdk/x11/gdkx.h
index 2f2dc16483..9e68a85e00 100644
--- a/gdk/x11/gdkx.h
+++ b/gdk/x11/gdkx.h
@@ -100,10 +100,6 @@ GdkVisual* gdkx_visual_get (VisualID xvisualid);
* is useless unless we also have the visual. */
GdkColormap* gdkx_colormap_get (Colormap xcolormap);
-/* Functions to create pixmaps and windows from their X equivalents */
-GdkPixmap *gdk_pixmap_foreign_new (GdkNativeWindow anid);
-GdkWindow *gdk_window_foreign_new (GdkNativeWindow anid);
-
/* Return the Gdk* for a particular XID */
gpointer gdk_xid_table_lookup (XID xid);
@@ -116,9 +112,6 @@ void gdk_x11_ungrab_server (void);
/* returns TRUE if we support the given WM spec feature */
gboolean gdk_net_wm_supports (GdkAtom property);
-#define gdk_window_lookup(xid) ((GdkWindow*) gdk_xid_table_lookup (xid))
-#define gdk_pixmap_lookup(xid) ((GdkPixmap*) gdk_xid_table_lookup (xid))
-
#ifndef GDK_DISABLE_DEPRECATED
Display * gdk_x11_font_get_xdisplay (GdkFont *font);