[Patch] date picker crash

Andreas Köhler andi5.py at gmx.net
Sat Feb 18 07:03:40 EST 2006


Hi,

crash GnuCash as follows:

* open a register
* choose a date from the calendar popup
* press tab

Attached patch solves this for me. I hope it is correct.

-- andi5
-------------- next part --------------
Index: src/register/register-gnome/gnucash-date-picker.c
===================================================================
--- src/register/register-gnome/gnucash-date-picker.c	(revision 13283)
+++ src/register/register-gnome/gnucash-date-picker.c	(working copy)
@@ -151,7 +151,7 @@
 		  G_SIGNAL_RUN_LAST,
 		  G_STRUCT_OFFSET(GNCDatePickerClass, key_press_event),
 		  NULL, NULL,
-		  g_cclosure_marshal_VOID__POINTER,
+		  g_cclosure_marshal_VOID__BOXED,
 		  G_TYPE_NONE, 1,
 		  GDK_TYPE_EVENT);
 


More information about the gnucash-devel mailing list