Commit 5444819a authored by Alexander Larsson's avatar Alexander Larsson Committed by Alexander Larsson

Fix help crash by actually owning a ref to xml_dialog. (#509835)

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

        * src/nautilus-file-management-properties.c:
        (nautilus_file_management_properties_dialog_setup):
	Fix help crash by actually owning a ref to 
	xml_dialog. (#509835)


svn path=/trunk/; revision=13611
parent e2b876ac
2008-01-16 Alexander Larsson <alexl@redhat.com>
* src/nautilus-file-management-properties.c:
(nautilus_file_management_properties_dialog_setup):
Fix help crash by actually owning a ref to
xml_dialog. (#509835)
2008-01-15 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-dnd.[ch]:
......
......@@ -661,9 +661,11 @@ nautilus_file_management_properties_dialog_setup (GladeXML *xml_dialog, GtkWindo
/* UI callbacks */
dialog = glade_xml_get_widget (xml_dialog, "file_management_dialog");
g_signal_connect (G_OBJECT (dialog), "response",
G_CALLBACK (nautilus_file_management_properties_dialog_response_cb),
xml_dialog);
g_signal_connect_data (G_OBJECT (dialog), "response",
G_CALLBACK (nautilus_file_management_properties_dialog_response_cb),
g_object_ref (xml_dialog),
(GClosureNotify)g_object_unref,
0);
gtk_window_set_icon_name (GTK_WINDOW (dialog), "file-manager");
......
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