diff options
| author | 2011-05-27 14:55:31 +0200 | |
|---|---|---|
| committer | 2011-05-27 14:55:31 +0200 | |
| commit | 024e755d9f3c33e742ce158542b1ded057a88f4f (patch) | |
| tree | 7f80705e0c3dd35fd86fcd943dbf0d0c6b9b78ab /test/plist_cmp.c | |
| parent | 94cb55d34dd9cb9bda539999dc017af76ec64a4f (diff) | |
| download | libplist-024e755d9f3c33e742ce158542b1ded057a88f4f.tar.gz libplist-024e755d9f3c33e742ce158542b1ded057a88f4f.tar.bz2 | |
Make libplist glib free
Diffstat (limited to 'test/plist_cmp.c')
| -rw-r--r-- | test/plist_cmp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/plist_cmp.c b/test/plist_cmp.c index af54c4c..a07452b 100644 --- a/test/plist_cmp.c +++ b/test/plist_cmp.c | |||
| @@ -27,7 +27,7 @@ | |||
| 27 | #include <string.h> | 27 | #include <string.h> |
| 28 | #include <sys/stat.h> | 28 | #include <sys/stat.h> |
| 29 | 29 | ||
| 30 | #include <glib.h> | 30 | #include <node.h> |
| 31 | 31 | ||
| 32 | #ifdef _MSC_VER | 32 | #ifdef _MSC_VER |
| 33 | #pragma warning(disable:4996) | 33 | #pragma warning(disable:4996) |
| @@ -35,12 +35,12 @@ | |||
| 35 | 35 | ||
| 36 | static plist_t plist_get_first_child(plist_t node) | 36 | static plist_t plist_get_first_child(plist_t node) |
| 37 | { | 37 | { |
| 38 | return (plist_t) g_node_first_child((GNode *) node); | 38 | return (plist_t) node_first_child((node_t*) node); |
| 39 | } | 39 | } |
| 40 | 40 | ||
| 41 | static plist_t plist_get_next_sibling(plist_t node) | 41 | static plist_t plist_get_next_sibling(plist_t node) |
| 42 | { | 42 | { |
| 43 | return (plist_t) g_node_next_sibling((GNode *) node); | 43 | return (plist_t) node_next_sibling((node_t*) node); |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | static char compare_plist(plist_t node_l, plist_t node_r) | 46 | static char compare_plist(plist_t node_l, plist_t node_r) |
