diff --git a/lib/glibcompat.c b/lib/glibcompat.c index ecf28aae6..d80661e7e 100644 --- a/lib/glibcompat.c +++ b/lib/glibcompat.c @@ -68,11 +68,3 @@ g_unichar_iszerowidth (gunichar c) #endif /* ! GLIB_CHECK_VERSION (2, 13, 0) */ /* --------------------------------------------------------------------------------------------- */ - -#if ! GLIB_CHECK_VERSION (2, 7, 0) -gboolean -g_file_set_contents (const gchar * filename, const gchar * contents, gssize length, GError ** error) -{ - return g_file_replace (filename, contents, length, error); -} -#endif /* ! GLIB_CHECK_VERSION (2, 7, 0) */ diff --git a/lib/glibcompat.h b/lib/glibcompat.h index 920db53c8..418a81bd6 100644 --- a/lib/glibcompat.h +++ b/lib/glibcompat.h @@ -15,10 +15,6 @@ gboolean g_unichar_iszerowidth (gunichar); #endif /* ! GLIB_CHECK_VERSION (2, 13, 0) */ -#if ! GLIB_CHECK_VERSION (2, 7, 0) -gboolean g_file_set_contents (const gchar *, const gchar *, gssize, GError **); -#endif /* ! GLIB_CHECK_VERSION (2, 7, 0) */ - /*** inline functions ****************************************************************************/ #endif /* MC_GLIBCOMPAT_H */ diff --git a/src/args.c b/src/args.c index 99b2584eb..a9508adff 100644 --- a/src/args.c +++ b/src/args.c @@ -410,10 +410,8 @@ mc_args_add_extended_info_to_help (void) "as tickets at www.midnight-commander.org\n")); mc_args__loc__header_string = g_strdup_printf (_("GNU Midnight Commander %s\n"), VERSION); -#if GLIB_CHECK_VERSION(2,12,0) g_option_context_set_description (context, mc_args__loc__footer_string); g_option_context_set_summary (context, mc_args__loc__header_string); -#endif } /* --------------------------------------------------------------------------------------------- */