wok-6.x view gnucash/stuff/G_CONST_RETURN_deprecated.patch @ rev 15325
Up tcpdump (4.4.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 27 21:59:48 2013 +0000 (2013-09-27) |
parents | |
children |
line source
1 Index: gnucash/trunk/src/gnome-utils/gnc-date-edit.c
2 ===================================================================
3 --- a/gnucash/trunk/src/gnome-utils/gnc-date-edit.c
4 +++ b/gnucash/trunk/src/gnome-utils/gnc-date-edit.c
5 @@ -748,4 +748,4 @@
6 {
7 GNCDateEdit *gde = data;
8 - G_CONST_RETURN char *string;
9 + const char *string;
10 struct tm tm;
12 Index: gnucash/trunk/src/import-export/aqbanking/gnc-ab-kvp.c
13 ===================================================================
14 --- a/gnucash/trunk/src/import-export/aqbanking/gnc-ab-kvp.c
15 +++ b/gnucash/trunk/src/import-export/aqbanking/gnc-ab-kvp.c
16 @@ -46,5 +46,5 @@
17 static kvp_frame *gnc_ab_get_book_kvp(QofBook *b, gboolean create);
19 -G_CONST_RETURN gchar *
20 +const gchar *
21 gnc_ab_get_account_accountid(const Account *a)
22 {
23 @@ -65,5 +65,5 @@
24 }
26 -G_CONST_RETURN gchar *
27 +const gchar *
28 gnc_ab_get_account_bankcode(const Account *a)
29 {
31 Index: gnucash/trunk/src/libqof/qof/guid.c
32 ===================================================================
33 --- a/gnucash/trunk/src/libqof/qof/guid.c
34 +++ b/gnucash/trunk/src/libqof/qof/guid.c
35 @@ -72,5 +72,5 @@
36 * @return the value stored in @a value
37 */
38 -G_CONST_RETURN GncGUID*
39 +const GncGUID*
40 gnc_value_get_guid (const GValue *value)
41 {
43 Index: gnucash/trunk/src/libqof/qof/guid.h
44 ===================================================================
45 --- a/gnucash/trunk/src/libqof/qof/guid.h
46 +++ b/gnucash/trunk/src/libqof/qof/guid.h
47 @@ -65,5 +65,5 @@
49 GType gnc_guid_get_type (void);
50 -G_CONST_RETURN GncGUID* gnc_value_get_guid (const GValue *value);
51 +const GncGUID* gnc_value_get_guid (const GValue *value);
53 /** number of characters needed to encode a guid as a string