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 335001 - gtk_icon_view_set_cursor causes Segmentation fault
gtk_icon_view_set_cursor causes Segmentation fault
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkIconView
2.8.x
Other All
: Normal critical
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks: 320153
 
 
Reported: 2006-03-18 14:50 UTC by Emmanuel Rodriguez
Modified: 2006-03-20 03:17 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
Test case that creates a Segmentation fault (2.61 KB, text/plain)
2006-03-18 14:52 UTC, Emmanuel Rodriguez
Details

Description Emmanuel Rodriguez 2006-03-18 14:50:22 UTC
Steps to reproduce:
Calling gtk_icon_view_set_cursor causes a Segmentation fault.


Stack trace:


Other information:
A test case will follow.
Comment 1 Emmanuel Rodriguez 2006-03-18 14:52:35 UTC
Created attachment 61494 [details]
Test case that creates a Segmentation fault

Click on the button "Set Cursor"
Comment 2 Matthias Clasen 2006-03-20 03:17:23 UTC
The bug is in your code. Hopefully these documentation changes
make it clearer.

2006-03-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c (gtk_icon_view_set_cursor): Document that
	@cell must be one of the renderers of the icon view, warn if 
	it is not, and ignore @start_editing if @cell is not set.
	(#335001, Emmanuel Rodriguez)