diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2012-03-19 23:09:31 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2012-03-19 23:09:31 +0000 |
commit | 53b7d5d4288f94c22c8b41a88bb62bd1bdc7ca2a (patch) | |
tree | fe49f19cf45a25f66b4859ec9e38a39fb8d0f613 | |
parent | 72ee7be0a13b52e398cf5d311116521990c9af7d (diff) | |
download | tracker-53b7d5d4288f94c22c8b41a88bb62bd1bdc7ca2a.tar.gz |
tests: Fix build with GLib 2.28
-rw-r--r-- | tests/libtracker-miner/tracker-file-notifier-test.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/libtracker-miner/tracker-file-notifier-test.c b/tests/libtracker-miner/tracker-file-notifier-test.c index 7f04cfd1f..4f7617822 100644 --- a/tests/libtracker-miner/tracker-file-notifier-test.c +++ b/tests/libtracker-miner/tracker-file-notifier-test.c @@ -61,6 +61,14 @@ typedef enum { OPERATION_MOVE } OperationType; +#if GLIB_MINOR_VERSION < 30 +gchar * +g_mkdtemp (gchar *tmpl) +{ + return mkdtemp (tmpl); +} +#endif + #define test_add(path,fun) \ g_test_add (path, \ TestCommonContext, \ |