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 610184 - gtk_assistant_set_current_page() segfaults if page number is < 0.
gtk_assistant_set_current_page() segfaults if page number is < 0.
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
2.19.x
Other All
: Normal minor
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2010-02-16 19:08 UTC by Tadej Borovšak
Modified: 2010-02-23 16:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Demonstration application. (365 bytes, text/x-c)
2010-02-16 19:09 UTC, Tadej Borovšak
  Details
Fix for segfault. (802 bytes, patch)
2010-02-16 19:10 UTC, Tadej Borovšak
none Details | Review

Description Tadej Borovšak 2010-02-16 19:08:00 UTC
API docs state that if negative page number is passed to gtk_assistant_set_current_page(), last page will be used.
Comment 1 Tadej Borovšak 2010-02-16 19:09:55 UTC
Created attachment 153951 [details]
Demonstration application.
Comment 2 Tadej Borovšak 2010-02-16 19:10:36 UTC
Created attachment 153952 [details] [review]
Fix for segfault.