nautilus r13611 - in trunk: . src
- From: alexl svn gnome org
- To: svn-commits-list gnome org
- Subject: nautilus r13611 - in trunk: . src
- Date: Wed, 16 Jan 2008 11:23:46 +0000 (GMT)
Author: alexl
Date: Wed Jan 16 11:23:46 2008
New Revision: 13611
URL: http://svn.gnome.org/viewvc/nautilus?rev=13611&view=rev
Log:
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)
Modified:
trunk/ChangeLog
trunk/src/nautilus-file-management-properties.c
Modified: trunk/src/nautilus-file-management-properties.c
==============================================================================
--- trunk/src/nautilus-file-management-properties.c (original)
+++ trunk/src/nautilus-file-management-properties.c Wed Jan 16 11:23:46 2008
@@ -661,9 +661,11 @@
/* 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");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]