Mention G_WIN32_DLLMAIN_FOR_DLL_NAME() will be deprecated in the future.
authorTor Lillqvist <tml@novell.com>
Sun, 24 Feb 2008 01:07:41 +0000 (01:07 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Sun, 24 Feb 2008 01:07:41 +0000 (01:07 +0000)
commit811b86fa56cbde3a9fa0b2d1888763dd05b3b904
tree7eb1af15e8296e59f365f06979f6b1c20ac60fbc
parent3af00194ea510ced8eb2fd08c29b59561f387fab
Mention G_WIN32_DLLMAIN_FOR_DLL_NAME() will be deprecated in the future.

2008-02-24  Tor Lillqvist  <tml@novell.com>

* glib/gutils.h: Mention G_WIN32_DLLMAIN_FOR_DLL_NAME() will be
deprecated in the future.

* glib/gutils.c: Drop use of G_WIN32_DLLMAIN_FOR_DLL_NAME(). Use a
minimal DllMain() instead that just saves the DLL handle.
(g_win32_get_system_data_dirs_for_module, _glib_get_locale_dir)
(get_module_share_dir): Use
g_win32_get_package_installation_directory_of_module().

svn path=/trunk/; revision=6570
ChangeLog
glib/gutils.c
glib/gutils.h