Patch from snallagatla@novell.com to fix a crash.

Mon Nov 17 00:13:07 2003  Jonathan Blandford  <jrb@gnome.org>

        * service-edit-dialog.c (populate_app_list): Patch from
        snallagatla@novell.com to fix a crash.
This commit is contained in:
Jonathan Blandford 2003-11-17 05:16:41 +00:00 committed by Jonathan Blandford
parent 09054ab196
commit 86ebff6da2
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Mon Nov 17 00:13:07 2003 Jonathan Blandford <jrb@gnome.org>
* service-edit-dialog.c (populate_app_list): Patch from
snallagatla@novell.com to fix a crash.
2003-10-28 Jody Goldberg <jody@gnome.org>
* Release 2.5.0

View file

@ -396,7 +396,7 @@ populate_app_list (ServiceEditDialog *dialog)
found_idx = i;
item = gtk_menu_item_new_with_label (app->name);
g_object_set_data_full (G_OBJECT (item), "app", app, (GDestroyNotify) gnome_vfs_mime_application_free);
g_object_set_data_full (G_OBJECT (item), "app", gnome_vfs_mime_application_copy (app), (GDestroyNotify) gnome_vfs_mime_application_free);
gtk_widget_show (item);
gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);