diff options
author | Benjamin Otte <otte@redhat.com> | 2010-12-20 13:47:35 +0100 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2010-12-21 12:07:05 -0500 |
commit | 4793bd3399d47a43993a384846d60fbc47dac50e (patch) | |
tree | 61e0f08af350e7e7c4b20b063a7df9985aa82ea6 /gdk/x11/gdkcursor-x11.c | |
parent | 7a14b30ea37d4cb9b021df3d9d6036cb15f19df1 (diff) | |
download | gtk+-4793bd3399d47a43993a384846d60fbc47dac50e.tar.gz |
gdk: Move gdk_cursor_get_display() out of the backends
Now that we store the display inside the cursor, that change is obvious.
Diffstat (limited to 'gdk/x11/gdkcursor-x11.c')
-rw-r--r-- | gdk/x11/gdkcursor-x11.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/gdk/x11/gdkcursor-x11.c b/gdk/x11/gdkcursor-x11.c index ac579ab8a9..bc94fbedf1 100644 --- a/gdk/x11/gdkcursor-x11.c +++ b/gdk/x11/gdkcursor-x11.c @@ -321,25 +321,6 @@ gdk_x11_cursor_get_xcursor (GdkCursor *cursor) return ((GdkX11Cursor *)cursor)->xcursor; } -/** - * gdk_cursor_get_display: - * @cursor: a #GdkCursor. - * - * Returns the display on which the #GdkCursor is defined. - * - * Returns: (transfer none): the #GdkDisplay associated to @cursor - * - * Since: 2.2 - */ - -GdkDisplay * -gdk_cursor_get_display (GdkCursor *cursor) -{ - g_return_val_if_fail (cursor != NULL, NULL); - - return ((GdkX11Cursor *)cursor)->display; -} - #if defined(HAVE_XCURSOR) && defined(HAVE_XFIXES) && XFIXES_MAJOR >= 2 /** |