forked from AuroraMiddleware/gtk
Deprecate gdkx_visual_get
This commit is contained in:
parent
08e4a60de1
commit
dd1de27061
@ -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
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user