r15851 - gnucash/trunk/src - Rename g_date_equals to gnc_gdate_equal and g_date_hash to gnc_gdate_hash.

Andreas Köhler andi5 at cvs.gnucash.org
Sun Apr 8 20:51:56 EDT 2007


Author: andi5
Date: 2007-04-08 20:51:51 -0400 (Sun, 08 Apr 2007)
New Revision: 15851
Trac: http://svn.gnucash.org/trac/changeset/15851

Modified:
   gnucash/trunk/src/core-utils/gnc-gdate-utils.c
   gnucash/trunk/src/core-utils/gnc-gdate-utils.h
   gnucash/trunk/src/gnome/druid-loan.c
Log:
Rename g_date_equals to gnc_gdate_equal and g_date_hash to gnc_gdate_hash.

Those are not native GLib functions.  Make _equals consistent with
g_{str,int}_equal, also return a gboolean.  g_date_compare checks its
parameters for validity already, so do not do that twice.




More information about the gnucash-patches mailing list