After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 622943 - Add allow-none to gdk_window_set_cursor()
Add allow-none to gdk_window_set_cursor()
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: X11
2.90.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks: 622963
 
 
Reported: 2010-06-27 14:41 UTC by Philip Withnall
Modified: 2010-06-27 18:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add allow-none to gdk_window_set_cursor() (777 bytes, patch)
2010-06-27 14:41 UTC, Philip Withnall
committed Details | Review

Description Philip Withnall 2010-06-27 14:41:29 UTC
Created attachment 164746 [details] [review]
Add allow-none to gdk_window_set_cursor()

gdk_window_set_cursor() allows NULL cursors to be passed to allow resetting the cursor. Patch adds allow-none to the cursor parameter to notify the GIR file of this.
Comment 1 Bastien Nocera 2010-06-27 18:14:26 UTC
Comment on attachment 164746 [details] [review]
Add allow-none to gdk_window_set_cursor()

Trivial patch, please commit to master and gtk-2-22
Comment 2 Philip Withnall 2010-06-27 18:21:32 UTC
Pushed to master and gtk-2-22.

commit d78cee6791cd627a3bc584ace5c35f561aba9cf8
Author: Philip Withnall <philip@tecnocode.co.uk>
Date:   Sun Jun 27 15:39:02 2010 +0100

    Add allow-none to gdk_window_set_cursor()

 gdk/gdkwindow.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)