[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,

Affected plugins:

gchar *install_dir = g_win32_get_package_installation_directory
("geany", NULL);

gchar *install_dir = g_win32_get_package_installation_directory
("geany", NULL);

gchar *install_dir = g_win32_get_package_installation_directory
("geany", NULL);


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