diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2008-04-09 04:57:47 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2008-04-09 04:57:47 +0000 |
commit | 151c5b47b51adcaf4d8746162d680a5a4b4b67cc (patch) | |
tree | 9dc5af2dfed4f6957e67b38fa7ed23e8dc13f7fb /capture_opts.c | |
parent | 22045b4a5462aea3c1b3efc5bd25aefc22643228 (diff) |
replace confusing #if checking for GlIB2.6.0 by #if GLIB_CHECK_VERSION(2,6,0)
svn path=/trunk/; revision=24855
Diffstat (limited to 'capture_opts.c')
-rw-r--r-- | capture_opts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/capture_opts.c b/capture_opts.c index c958b59f1e..738acaeb98 100644 --- a/capture_opts.c +++ b/capture_opts.c @@ -532,7 +532,7 @@ capture_opts_add_opt(capture_options *capture_opts, int opt, const char *optarg, case 'w': /* Write to capture file x */ capture_opts->saving_to_file = TRUE; g_free(capture_opts->save_file); -#if defined _WIN32 && (GLIB_MAJOR_VERSION > 2 || (GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION >= 6)) +#if defined _WIN32 && GLIB_CHECK_VERSION(2,6,0) /* since GLib 2.6, we need to convert filenames to utf8 for Win32 */ capture_opts->save_file = g_locale_to_utf8(optarg, -1, NULL, NULL, NULL); #else |