Delete unused private gdk_visual_lookup(), make gdk_colormap_lookup()
Tue Sep 24 16:04:44 2002 Owen Taylor <otaylor@redhat.com> * gdkprivate-x11.h gdkcolor-x11.c gdkvisual-x11.c gdkwindow-x11.c: Delete unused private gdk_visual_lookup(), make gdk_colormap_lookup() private gdkcolor-x11.c. make gdk_window_add_colormap_windows private to gdkwindow-x11.c (#85674) * gdk/x11/gdkx.h gdk/x11/gdkcolor-x11.c gdkscreen-x11.h: Add gdk_x11_colormap_foreign_new(), GDK_ENABLE_BROKEN gdkx_colormap_get(), make the colormap hash per-screen. (#85697) * gdk/x11/gdkxid.c (gdk_xid_table_lookup_for_display): Remove a bit of unecessary code.
This commit is contained in:
@ -122,11 +122,15 @@ GdkVisual* gdkx_visual_get_for_screen (GdkScreen *screen,
|
||||
GdkVisual* gdkx_visual_get (VisualID xvisualid);
|
||||
#endif
|
||||
|
||||
/* XXX: Do not use this function until it is fixed. An X Colormap
|
||||
* is useless unless we also have the visual. */
|
||||
#ifdef GDK_ENABLE_BROKEN
|
||||
/* XXX: An X Colormap is useless unless we also have the visual. */
|
||||
GdkColormap* gdkx_colormap_get (Colormap xcolormap);
|
||||
#endif
|
||||
|
||||
/* Return the Gdk* for a particular XID */
|
||||
GdkColormap *gdk_x11_colormap_foreign_new (GdkVisual *visual,
|
||||
Colormap xcolormap)
|
||||
|
||||
/* Return the Gdk* for a particular XID */
|
||||
gpointer gdk_xid_table_lookup_for_display (GdkDisplay *display,
|
||||
XID xid);
|
||||
guint32 gdk_x11_get_server_time (GdkWindow *window);
|
||||
|
||||
Reference in New Issue
Block a user