[Geany-devel] Fix deprecated usage of g_win32_get_package_installation_directory()

Enrico Tröger enrico.troeger at xxxxx
Thu Mar 26 19:53:08 UTC 2009


Hi all,

in recent GLib versions, passing non-NULL arguments to
g_win32_get_package_installation_directory() is deprecated and probably
won't work anymore with GLib 2.20 (or maybe one of the next releases).

So, it'd be nice if you could change your code to pass two NULL
arguments or even better use
g_win32_get_package_installation_directory_of_module() instead,
(http://library.gnome.org/devel/glib/stable/glib-Windows-Compatibility-Functions.html#g-win32-get-package-installation-directory)

Affected plugins:

geanygdb/src/geanydebug.c:324:
gchar *install_dir = g_win32_get_package_installation_directory
("geany", NULL);

geany-mini-script/src/gms.c:268:
gchar *install_dir = g_win32_get_package_installation_directory
("geany", NULL);

geanyprj/src/geanyprj.c:134:
gchar *install_dir = g_win32_get_package_installation_directory
("geany", NULL);


Thanks,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20090326/f1df072a/attachment.pgp>


More information about the Devel mailing list