Commit cae57c66 authored by Alexander Larsson's avatar Alexander Larsson Committed by Alexander Larsson

Don't crash when exiting separate properties app. (#505687)

2008-01-15  Alexander Larsson  <alexl@redhat.com>

        * src/nautilus-file-management-properties.c:
        (nautilus_file_management_properties_dialog_response_cb):
	Don't crash when exiting separate properties app. (#505687)
	
        * src/nautilus-window.c:
        (nautilus_window_update_icon):
	Unref pixbuf inside != NULL block.



svn path=/trunk/; revision=13607
parent 3354ae58
2008-01-15 Alexander Larsson <alexl@redhat.com>
* src/nautilus-file-management-properties.c:
(nautilus_file_management_properties_dialog_response_cb):
Don't crash when exiting separate properties app. (#505687)
* src/nautilus-window.c:
(nautilus_window_update_icon):
Unref pixbuf inside != NULL block.
2008-01-15 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-directory-async.c:
......
......@@ -250,8 +250,6 @@ nautilus_file_management_properties_dialog_response_cb (GtkDialog *parent,
eel_gconf_monitor_remove ("/apps/nautilus/list_view");
eel_gconf_monitor_remove ("/apps/nautilus/preferences");
eel_gconf_monitor_remove ("/desktop/gnome/file_views");
g_object_unref (xml_dialog);
}
}
......
......@@ -1236,8 +1236,8 @@ nautilus_window_update_icon (NautilusWindow *window)
if (pixbuf) {
gtk_window_set_icon (GTK_WINDOW (window), pixbuf);
g_object_unref (pixbuf);
}
g_object_unref (pixbuf);
}
g_object_unref (info);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment