CVSROOT: /cvs/gnome Module name: glib Changes by: tml 05/04/08 08:03:16
Modified files: . : ChangeLog glib : gutils.h gutils.c glib.symbols Log message: 2005-04-08 Tor Lillqvist <[EMAIL PROTECTED]> Improve g_get_system_data_dirs() on Windows. A library that calls g_get_system_data_dirs() might be installed in a different top-level prefix than GLib or the application being run. * glib/gutils.h (g_win32_get_system_data_dirs): New static function defined in this header. Calls g_win32_get_system_data_dirs_for_module() passing the address of itself as parameter. g_get_system_data_dirs() is #defined as this function. * glib/gutils.c (g_win32_get_system_data_dirs_for_module): New function. If the address parameter is non-NULL, the corresponding module's installation location is used for one of the returned path names, in addition to the COMMON_APPDATA, COMMON_DOCUMENTS, glib top-level and application top-level folders. (g_get_system_data_dirs): Now just for backward compatibility on Win32. Just call g_win32_get_system_data_dirs_for_module(NULL). * glib/glib.symbols: Add g_win32_get_system_data_dirs_for_module. URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=glib&who=tml&date=explicit&mindate=2005-04-08%2008:02&maxdate=2005-04-08%2008:04 _______________________________________________ cvs-commits-list mailing list cvs-commits-list@gnome.org http://mail.gnome.org/mailman/listinfo/cvs-commits-list