Don't warn about deprecation on Win32. Code written for GLib 1.2 doesn't

2001-01-09  Tor Lillqvist  <tml@iki.fi>

	* gutils.c (g_basename, g_dirname): Don't warn about deprecation
	on Win32. Code written for GLib 1.2 doesn't have much choice but
	to use GLib >= 1.3 on Win32.

	* glib.def: Update.
This commit is contained in:
Tor Lillqvist
2001-01-09 16:33:21 +00:00
committed by Tor Lillqvist
parent 5f130a176c
commit 78231a4b25
12 changed files with 84 additions and 4 deletions

View File

@@ -378,7 +378,7 @@ gchar*
g_basename (const gchar *file_name)
{
register gchar *base;
#ifdef G_ENABLE_DEBUG
#if defined(G_ENABLE_DEBUG) && !defined(G_OS_WIN32)
static gboolean first_call = TRUE;
if (first_call)
@@ -538,7 +538,7 @@ g_path_get_dirname (const gchar *file_name)
gchar*
g_dirname (const gchar *file_name)
{
#ifdef G_ENABLE_DEBUG
#if defined(G_ENABLE_DEBUG) && !defined(G_OS_WIN32)
static gboolean first_call = TRUE;
if (first_call)