Commit 19cf9309 authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Drop gdkx_visual_get

The function is badly named, not multihead-safe, basically unused,
and has a better replacement with gdk_x11_screen_lookup_visual.
parent e11bbbf1
...@@ -486,20 +486,6 @@ gdk_x11_screen_lookup_visual (GdkScreen *screen, ...@@ -486,20 +486,6 @@ gdk_x11_screen_lookup_visual (GdkScreen *screen,
return NULL; return NULL;
} }
* gdkx_visual_get:
* @xvisualid: a X visual id.
* Returns a #GdkVisual corresponding to a X visual.
* Return value: the #GdkVisual.
gdkx_visual_get (VisualID xvisualid)
return gdk_x11_screen_lookup_visual (gdk_screen_get_default (), xvisualid);
static void static void
gdk_visual_add (GdkVisual *visual) gdk_visual_add (GdkVisual *visual)
{ {
...@@ -181,9 +181,6 @@ gint gdk_x11_get_default_screen (void); ...@@ -181,9 +181,6 @@ gint gdk_x11_get_default_screen (void);
GdkVisual* gdk_x11_screen_lookup_visual (GdkScreen *screen, GdkVisual* gdk_x11_screen_lookup_visual (GdkScreen *screen,
VisualID xvisualid); VisualID xvisualid);
GdkVisual* gdkx_visual_get (VisualID xvisualid);
guint32 gdk_x11_get_server_time (GdkWindow *window); guint32 gdk_x11_get_server_time (GdkWindow *window);
guint32 gdk_x11_display_get_user_time (GdkDisplay *display); guint32 gdk_x11_display_get_user_time (GdkDisplay *display);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment