Deprecate gdkx_visual_get

This commit is contained in:
Matthias Clasen 2010-12-17 01:11:20 -05:00
parent 08e4a60de1
commit dd1de27061
3 changed files with 9 additions and 3 deletions

View File

@ -1349,8 +1349,10 @@ gdk_x11_screen_get_monitor_output
#if IN_FILE(__GDK_VISUAL_X11_C__)
gdk_x11_screen_lookup_visual
gdk_x11_visual_get_xvisual
#ifndef GDK_DISABLE_DEPRECATED
gdkx_visual_get
#endif
#endif
#if IN_FILE(__GDK_WINDOW_X11_C__)
gdk_x11_window_set_user_time

View File

@ -575,11 +575,13 @@ gdk_x11_screen_lookup_visual (GdkScreen *screen,
/**
* gdkx_visual_get:
* @xvisualid: a X visual id.
*
*
* Returns a #GdkVisual corresponding to a X visual.
*
*
* Return value: the #GdkVisual.
**/
*
* Deprecated:2.24: Use gdk_x11_screen_lookup_visual() instead
*/
GdkVisual*
gdkx_visual_get (VisualID xvisualid)
{

View File

@ -127,9 +127,11 @@ gint gdk_x11_get_default_screen (void);
GdkVisual* gdk_x11_screen_lookup_visual (GdkScreen *screen,
VisualID xvisualid);
#ifndef GDK_DISABLE_DEPRECATED
#ifndef GDK_MULTIHEAD_SAFE
GdkVisual* gdkx_visual_get (VisualID xvisualid);
#endif
#endif
#ifdef GDK_ENABLE_BROKEN
/* XXX: An X Colormap is useless unless we also have the visual. */