r18017 - gnucash/trunk/src/gnome-utils - Fix crash due to use of uninitialized variable. Fix supplied by Sebastien Held.

Phil Longstaff plongstaff at code.gnucash.org
Sun Apr 5 13:07:51 EDT 2009


Author: plongstaff
Date: 2009-04-05 13:07:50 -0400 (Sun, 05 Apr 2009)
New Revision: 18017
Trac: http://svn.gnucash.org/trac/changeset/18017

Modified:
   gnucash/trunk/src/gnome-utils/dialog-file-access.c
Log:
Fix crash due to use of uninitialized variable.  Fix supplied by Sebastien Held.


Modified: gnucash/trunk/src/gnome-utils/dialog-file-access.c
===================================================================
--- gnucash/trunk/src/gnome-utils/dialog-file-access.c	2009-04-05 00:52:30 UTC (rev 18016)
+++ gnucash/trunk/src/gnome-utils/dialog-file-access.c	2009-04-05 17:07:50 UTC (rev 18017)
@@ -231,7 +231,9 @@
 	uri_type_container = glade_xml_get_widget( xml, "vb_uri_type_container" );
 	faw->cb_uri_type = GTK_COMBO_BOX(gtk_combo_box_new_text());
 	gtk_container_add( GTK_CONTAINER(uri_type_container), GTK_WIDGET(faw->cb_uri_type) );
-	g_object_connect( G_OBJECT(faw->cb_uri_type), "signal::changed", cb_uri_type_changed_cb, NULL );
+	g_object_connect( G_OBJECT(faw->cb_uri_type),
+					"signal::changed", cb_uri_type_changed_cb, NULL,
+					NULL );
 
     /* Autoconnect signals */
     glade_xml_signal_autoconnect_full( xml, gnc_glade_autoconnect_full_func,



More information about the gnucash-changes mailing list