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 691639 - introspection: gtk_widget_set_tooltip_text accepts NULL
introspection: gtk_widget_set_tooltip_text accepts NULL
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Documentation
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2013-01-13 03:56 UTC by Cole Robinson
Modified: 2013-01-21 03:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
widget: Add annotation (allow-none) for set_tooltip_text (973 bytes, patch)
2013-01-13 03:56 UTC, Cole Robinson
committed Details | Review

Description Cole Robinson 2013-01-13 03:56:43 UTC
gtk_widget_set_tooltip_text can handle NULL and needs to be annotated
as such. I hit this trying to port my app from pygtk2 which handled
set_tooltip_text(None) fine.
Comment 1 Cole Robinson 2013-01-13 03:56:45 UTC
Created attachment 233362 [details] [review]
widget: Add annotation (allow-none) for set_tooltip_text
Comment 2 Matthias Clasen 2013-01-14 03:05:07 UTC
Review of attachment 233362 [details] [review]:

Looks fine
Comment 3 Matthias Clasen 2013-01-21 03:03:15 UTC
Attachment 233362 [details] pushed as cbce906 - widget: Add annotation (allow-none) for set_tooltip_text