r18245 - gnucash/trunk/src/engine - Placeholder was defined as a property but not properly registered with glib. Add it.
Phil Longstaff
plongstaff at code.gnucash.org
Tue Aug 11 20:06:27 EDT 2009
Author: plongstaff
Date: 2009-08-11 20:06:27 -0400 (Tue, 11 Aug 2009)
New Revision: 18245
Trac: http://svn.gnucash.org/trac/changeset/18245
Modified:
gnucash/trunk/src/engine/Account.c
Log:
Placeholder was defined as a property but not properly registered with glib. Add it.
Modified: gnucash/trunk/src/engine/Account.c
===================================================================
--- gnucash/trunk/src/engine/Account.c 2009-08-11 23:51:37 UTC (rev 18244)
+++ gnucash/trunk/src/engine/Account.c 2009-08-12 00:06:27 UTC (rev 18245)
@@ -746,6 +746,16 @@
"account tree.",
FALSE,
G_PARAM_READWRITE));
+
+ g_object_class_install_property
+ (gobject_class,
+ PROP_PLACEHOLDER,
+ g_param_spec_boolean ("placeholder",
+ "Placeholder",
+ "Whether the account is a placeholder account which does not "
+ "allow transactions to be created, edited or deleted.",
+ FALSE,
+ G_PARAM_READWRITE));
}
static void
More information about the gnucash-changes
mailing list