GNOME Bugzilla – Bug 351661
crash when opening launcher properties
Last modified: 2006-08-18 10:17:44 UTC
I had a launcher with a themed icon on the panel. Then I uninstalled the package which contained the icon. The panel displays the GNOME foot. That's no good so I want to change the icon, right-click to get to the launcher properties and boom! The problem resides in panel-ditem-edit.c (panel_ditem_editor_sync_display). When determining the icon, only buffer is checked for NULL, however tmpstr can become NULL, too, and g_path_get_dirname() throws a CRITICAL in that case. Fix attached which fixes the crash for me.
Created attachment 71036 [details] [review] don't cause a critical warning in glib
This is in 2.15.91, btw.
Thanks.