]>
Commit | Line | Data |
---|---|---|
6c16e87f BS |
1 | --- gnucash-3.5/libgnucash/engine/qofbook.cpp.orig 2019-03-29 17:46:34.000000000 +0100 |
2 | +++ gnucash-3.5/libgnucash/engine/qofbook.cpp 2019-04-06 09:39:22.820551177 +0200 | |
3 | @@ -615,12 +615,16 @@ | |
4 | return col; | |
5 | } | |
0f286ce3 | 6 | |
6c16e87f BS |
7 | +namespace { |
8 | + | |
9 | struct _iterate | |
0f286ce3 | 10 | { |
6c16e87f BS |
11 | QofCollectionForeachCB fn; |
12 | gpointer data; | |
13 | }; | |
0f286ce3 | 14 | |
6c16e87f BS |
15 | +}; |
16 | + | |
17 | static void | |
18 | foreach_cb (G_GNUC_UNUSED gpointer key, gpointer item, gpointer arg) | |
19 | { | |
20 | --- gnucash-3.5/libgnucash/engine/qofid.cpp.orig 2019-01-12 00:57:38.000000000 +0100 | |
21 | +++ gnucash-3.5/libgnucash/engine/qofid.cpp 2019-04-06 09:38:29.207628926 +0200 | |
22 | @@ -303,12 +303,16 @@ | |
0f286ce3 | 23 | |
6c16e87f | 24 | /* =============================================================== */ |
0f286ce3 | 25 | |
6c16e87f BS |
26 | +namespace { |
27 | + | |
28 | struct _iterate | |
29 | { | |
30 | QofInstanceForeachCB fcn; | |
31 | gpointer data; | |
32 | }; | |
0f286ce3 | 33 | |
6c16e87f BS |
34 | +}; |
35 | + | |
36 | static void | |
37 | foreach_cb (gpointer item, gpointer arg) | |
38 | { |