r23094 - gnucash/trunk/src/report/report-gnome - Fix windows compilation error since r23083

Geert Janssens gjanssens at code.gnucash.org
Sat Jul 6 12:22:55 EDT 2013


Author: gjanssens
Date: 2013-07-06 12:22:55 -0400 (Sat, 06 Jul 2013)
New Revision: 23094
Trac: http://svn.gnucash.org/trac/changeset/23094

Modified:
   gnucash/trunk/src/report/report-gnome/dialog-custom-report.c
Log:
Fix windows compilation error since r23083

Modified: gnucash/trunk/src/report/report-gnome/dialog-custom-report.c
===================================================================
--- gnucash/trunk/src/report/report-gnome/dialog-custom-report.c	2013-07-05 17:11:46 UTC (rev 23093)
+++ gnucash/trunk/src/report/report-gnome/dialog-custom-report.c	2013-07-06 16:22:55 UTC (rev 23094)
@@ -134,8 +134,9 @@
     valid_iter = gtk_tree_model_get_iter_first (model, &iter);
     while (valid_iter)
     {
-        GValue value = G_VALUE_INIT;
+        GValue value = { 0, };
         GncGUID *row_guid;
+        g_value_init ( &value, G_TYPE_POINTER);
         gtk_tree_model_get_value (model, &iter, COL_NUM, &value);
         row_guid = (GncGUID *) g_value_get_pointer (&value);
         guid_free (row_guid);



More information about the gnucash-changes mailing list