Bug 570501 - g_win32_get_system_data_dirs uses invalid conversion of
authorTor Lillqvist <tml@novell.com>
Mon, 23 Feb 2009 09:52:48 +0000 (09:52 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Mon, 23 Feb 2009 09:52:48 +0000 (09:52 +0000)
commit739a81e08a3b71eaee1119622c06a418b1477a8e
treefde07b541145026bef93e44b9e2d0e7b5f825739
parentf5483302757a9c03c43e25c86cea4a7bd5aaaf3f
Bug 570501 - g_win32_get_system_data_dirs uses invalid conversion of

2009-02-23  Tor Lillqvist  <tml@novell.com>

Bug 570501 - g_win32_get_system_data_dirs uses invalid conversion
of function pointer to object pointer

* glib/gutils.c (g_win32_get_system_data_dirs_for_module): Change
the type of the function's parameter to be explicitly a function
pointer.

* glib/gutils.h (_g_win32_get_system_data_dirs): Modify
declaration and the only caller, the inline
_g_win32_get_system_data_dirs(), accordingly. Add comments
pointing out these are internal GLib functions.

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