summaryrefslogtreecommitdiff
path: root/gdk-pixbuf
diff options
context:
space:
mode:
Diffstat (limited to 'gdk-pixbuf')
-rw-r--r--gdk-pixbuf/ChangeLog6
-rw-r--r--gdk-pixbuf/gdk-pixbuf-io.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog
index 6e0ad078c5..841ff5e629 100644
--- a/gdk-pixbuf/ChangeLog
+++ b/gdk-pixbuf/ChangeLog
@@ -1,3 +1,9 @@
+2008-09-13 Tor Lillqvist <tml@novell.com>
+
+ * gdk-pixbuf-io.c: Do as the docs for
+ g_win32_get_package_installation_directory() say and pass NULL as
+ the first parameter.
+
2008-09-07 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-io.c (gdk_pixbuf_io_init): Plug a small memory
diff --git a/gdk-pixbuf/gdk-pixbuf-io.c b/gdk-pixbuf/gdk-pixbuf-io.c
index 61256e8631..967febbbd6 100644
--- a/gdk-pixbuf/gdk-pixbuf-io.c
+++ b/gdk-pixbuf/gdk-pixbuf-io.c
@@ -238,7 +238,7 @@ get_toplevel (void)
if (toplevel == NULL)
toplevel = g_win32_get_package_installation_subdirectory
- (GETTEXT_PACKAGE, dll_name, "");
+ (NULL, dll_name, "");
return toplevel;
}
@@ -250,7 +250,7 @@ get_sysconfdir (void)
if (sysconfdir == NULL)
sysconfdir = g_win32_get_package_installation_subdirectory
- (GETTEXT_PACKAGE, dll_name, "etc");
+ (NULL, dll_name, "etc");
return sysconfdir;
}