wok-next diff gnucash/stuff/G_CONST_RETURN_deprecated.patch @ rev 14648

cups/stuff/etc/init.d/cupsd: fix shutdown
author Richard Dunbar <mojo@slitaz.org>
date Mon Jun 03 20:00:49 2013 +0000 (2013-06-03)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gnucash/stuff/G_CONST_RETURN_deprecated.patch	Mon Jun 03 20:00:49 2013 +0000
     1.3 @@ -0,0 +1,53 @@
     1.4 +Index: gnucash/trunk/src/gnome-utils/gnc-date-edit.c
     1.5 +===================================================================
     1.6 +--- a/gnucash/trunk/src/gnome-utils/gnc-date-edit.c
     1.7 ++++ b/gnucash/trunk/src/gnome-utils/gnc-date-edit.c
     1.8 +@@ -748,4 +748,4 @@
     1.9 + {
    1.10 +     GNCDateEdit *gde = data;
    1.11 +-    G_CONST_RETURN char *string;
    1.12 ++    const char *string;
    1.13 +     struct tm tm;
    1.14 +
    1.15 +Index: gnucash/trunk/src/import-export/aqbanking/gnc-ab-kvp.c
    1.16 +===================================================================
    1.17 +--- a/gnucash/trunk/src/import-export/aqbanking/gnc-ab-kvp.c
    1.18 ++++ b/gnucash/trunk/src/import-export/aqbanking/gnc-ab-kvp.c
    1.19 +@@ -46,5 +46,5 @@
    1.20 + static kvp_frame *gnc_ab_get_book_kvp(QofBook *b, gboolean create);
    1.21 + 
    1.22 +-G_CONST_RETURN gchar *
    1.23 ++const gchar *
    1.24 + gnc_ab_get_account_accountid(const Account *a)
    1.25 + {
    1.26 +@@ -65,5 +65,5 @@
    1.27 + }
    1.28 + 
    1.29 +-G_CONST_RETURN gchar *
    1.30 ++const gchar *
    1.31 + gnc_ab_get_account_bankcode(const Account *a)
    1.32 + {
    1.33 +
    1.34 +Index: gnucash/trunk/src/libqof/qof/guid.c
    1.35 +===================================================================
    1.36 +--- a/gnucash/trunk/src/libqof/qof/guid.c
    1.37 ++++ b/gnucash/trunk/src/libqof/qof/guid.c
    1.38 +@@ -72,5 +72,5 @@
    1.39 +  * @return the value stored in @a value
    1.40 +  */
    1.41 +-G_CONST_RETURN GncGUID*
    1.42 ++const GncGUID*
    1.43 + gnc_value_get_guid (const GValue *value)
    1.44 + {
    1.45 +
    1.46 +Index: gnucash/trunk/src/libqof/qof/guid.h
    1.47 +===================================================================
    1.48 +--- a/gnucash/trunk/src/libqof/qof/guid.h
    1.49 ++++ b/gnucash/trunk/src/libqof/qof/guid.h
    1.50 +@@ -65,5 +65,5 @@
    1.51 + 
    1.52 + GType gnc_guid_get_type (void);
    1.53 +-G_CONST_RETURN GncGUID* gnc_value_get_guid (const GValue *value);
    1.54 ++const GncGUID* gnc_value_get_guid (const GValue *value);
    1.55 + 
    1.56 + /** number of characters needed to encode a guid as a string