Cleanup code related to GLib < 2.12.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Этот коммит содержится в:
родитель
17cadc50ec
Коммит
e9f883a3cf
@ -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) */
|
||||
|
@ -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 */
|
||||
|
@ -411,10 +411,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
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------------------------- */
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user