From: Tor Lillqvist Date: Tue, 9 Jan 2001 16:33:21 +0000 (+0000) Subject: Don't warn about deprecation on Win32. Code written for GLib 1.2 doesn't X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=78231a4b256b6b9b268d774119d4cd0ac4c6042e;p=dana%2Fcg-glib.git Don't warn about deprecation on Win32. Code written for GLib 1.2 doesn't 2001-01-09 Tor Lillqvist * 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. --- diff --git a/ChangeLog b/ChangeLog index 8bedfaf6..a5762a1c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2001-01-09 Tor Lillqvist + + * 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. + 2001-01-09 Sebastian Wilhelmi * gmem.c: Made g_profile_mutex a GMutex* instead of diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 8bedfaf6..a5762a1c 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,11 @@ +2001-01-09 Tor Lillqvist + + * 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. + 2001-01-09 Sebastian Wilhelmi * gmem.c: Made g_profile_mutex a GMutex* instead of diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 8bedfaf6..a5762a1c 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,11 @@ +2001-01-09 Tor Lillqvist + + * 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. + 2001-01-09 Sebastian Wilhelmi * gmem.c: Made g_profile_mutex a GMutex* instead of diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 8bedfaf6..a5762a1c 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,11 @@ +2001-01-09 Tor Lillqvist + + * 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. + 2001-01-09 Sebastian Wilhelmi * gmem.c: Made g_profile_mutex a GMutex* instead of diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 8bedfaf6..a5762a1c 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,11 @@ +2001-01-09 Tor Lillqvist + + * 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. + 2001-01-09 Sebastian Wilhelmi * gmem.c: Made g_profile_mutex a GMutex* instead of diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 8bedfaf6..a5762a1c 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,11 @@ +2001-01-09 Tor Lillqvist + + * 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. + 2001-01-09 Sebastian Wilhelmi * gmem.c: Made g_profile_mutex a GMutex* instead of diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 8bedfaf6..a5762a1c 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,11 @@ +2001-01-09 Tor Lillqvist + + * 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. + 2001-01-09 Sebastian Wilhelmi * gmem.c: Made g_profile_mutex a GMutex* instead of diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 8bedfaf6..a5762a1c 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,11 @@ +2001-01-09 Tor Lillqvist + + * 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. + 2001-01-09 Sebastian Wilhelmi * gmem.c: Made g_profile_mutex a GMutex* instead of diff --git a/glib.def b/glib.def index 994d0833..a6ab7225 100644 --- a/glib.def +++ b/glib.def @@ -1,4 +1,6 @@ EXPORTS + g_allocator_free + g_allocator_new g_array_append_vals g_array_free g_array_insert_vals @@ -8,6 +10,8 @@ EXPORTS g_array_remove_index_fast g_array_set_size g_array_sized_new + g_array_sort + g_array_sort_with_data g_atexit g_basename g_bit_nth_lsf @@ -22,6 +26,8 @@ EXPORTS g_byte_array_remove_index_fast g_byte_array_set_size g_byte_array_sized_new + g_byte_array_sort + g_byte_array_sort_with_data g_cache_destroy g_cache_insert g_cache_key_foreach @@ -309,6 +315,8 @@ EXPORTS g_ptr_array_remove_index_fast g_ptr_array_set_size g_ptr_array_sized_new + g_ptr_array_sort + g_ptr_array_sort_with_data g_qsort_with_data g_quark_from_static_string g_quark_from_string diff --git a/glib/glib.def b/glib/glib.def index 994d0833..a6ab7225 100644 --- a/glib/glib.def +++ b/glib/glib.def @@ -1,4 +1,6 @@ EXPORTS + g_allocator_free + g_allocator_new g_array_append_vals g_array_free g_array_insert_vals @@ -8,6 +10,8 @@ EXPORTS g_array_remove_index_fast g_array_set_size g_array_sized_new + g_array_sort + g_array_sort_with_data g_atexit g_basename g_bit_nth_lsf @@ -22,6 +26,8 @@ EXPORTS g_byte_array_remove_index_fast g_byte_array_set_size g_byte_array_sized_new + g_byte_array_sort + g_byte_array_sort_with_data g_cache_destroy g_cache_insert g_cache_key_foreach @@ -309,6 +315,8 @@ EXPORTS g_ptr_array_remove_index_fast g_ptr_array_set_size g_ptr_array_sized_new + g_ptr_array_sort + g_ptr_array_sort_with_data g_qsort_with_data g_quark_from_static_string g_quark_from_string diff --git a/glib/gutils.c b/glib/gutils.c index 7e2cec54..449a2518 100644 --- a/glib/gutils.c +++ b/glib/gutils.c @@ -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) diff --git a/gutils.c b/gutils.c index 7e2cec54..449a2518 100644 --- a/gutils.c +++ b/gutils.c @@ -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)