CVSROOT:        /cvs/gnome
Module name:    libgnome
Changes by:     tml     05/04/18 04:38:22

Modified files:
        .              : ChangeLog 
        libgnome       : Makefile.am dllmain.c gnome-init.h 
                         libgnome-private.h 

Log message:
2005-04-18  Tor Lillqvist  <[EMAIL PROTECTED]>

* libgnome/Makefile.am: Remove unused LIBGNOME_BINDIR.

Rework the Win32 run-time path lookup system once more. Use
functions instead of global variables. Make DllMain() minimalistic
as is recommended.

* libgnome/dllmain.c (DllMain): Now very minimal, as is the
recommended practise. Just store the DLL handle. Don't call GLib
functions.
(gnome_win32_get_prefixes): New public function to be used by
other GNOME libraries, too. Takes a HMODULE and returns the
installation prefix both in a full UTF-8 form and in a system
codepage form. This should probably be in GLib, but GNOME's
release schedule isn't synchronized with GLib's.
(setup): Helper function that uses gnome_win32_get_prefixes().
(_gnome_get_prefix, _gnome_get_localedir, _gnome_get_libdir,
_gnome_get_datadir, _gnome_get_localstatedir,
_gnome_get_sysconfdir): Private functions for libgnome, return the
run-time paths.

* libgnme/gnome-init.h: Declare gnome_win32_get_prefixes ().

* libgnome/libgnome-private.h: Declare the Win32 private
functions.

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=libgnome&who=tml&date=explicit&mindate=2005-04-18%2004:37&maxdate=2005-04-18%2004:39

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to