gdk-pixbuf/gdk-pixbuf-io.c Do as the docs for

2008-09-13  Tor Lillqvist  <tml@novell.com>

	* gdk-pixbuf/gdk-pixbuf-io.c
	* gtk/gtkmain.c: Do as the docs for
	g_win32_get_package_installation_directory() say and pass NULL as
	the first parameter.


svn path=/trunk/; revision=21379
This commit is contained in:
Tor Lillqvist
2008-09-13 09:19:03 +00:00
committed by Tor Lillqvist
parent 8a563fbef0
commit b2dff511d3
4 changed files with 19 additions and 7 deletions

View File

@@ -1,3 +1,9 @@
2008-09-13 Tor Lillqvist <tml@novell.com>
* gtk/gtkmain.c: Do as the docs for
g_win32_get_package_installation_directory() say and pass NULL as
the first parameter.
2008-09-11 Cosimo Cecchi <cosimoc@gnome.org>
Bug 536542 gtk_list_store_set() documentation doesn't say whether

View File

@@ -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

View File

@@ -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;
}

View File

@@ -92,7 +92,7 @@ _gtk_get_localedir (void)
;
temp = g_win32_get_package_installation_subdirectory
(GETTEXT_PACKAGE, dll_name, p);
(NULL, dll_name, p);
/* gtk_localedir is passed to bindtextdomain() which isn't
* UTF-8-aware.
@@ -308,7 +308,7 @@ _gtk_get_datadir (void)
static char *gtk_datadir = NULL;
if (gtk_datadir == NULL)
gtk_datadir = g_win32_get_package_installation_subdirectory
(GETTEXT_PACKAGE, dll_name, "share");
(NULL, dll_name, "share");
return gtk_datadir;
}
@@ -319,7 +319,7 @@ _gtk_get_libdir (void)
static char *gtk_libdir = NULL;
if (gtk_libdir == NULL)
gtk_libdir = g_win32_get_package_installation_subdirectory
(GETTEXT_PACKAGE, dll_name, "lib");
(NULL, dll_name, "lib");
return gtk_libdir;
}
@@ -330,7 +330,7 @@ _gtk_get_sysconfdir (void)
static char *gtk_sysconfdir = NULL;
if (gtk_sysconfdir == NULL)
gtk_sysconfdir = g_win32_get_package_installation_subdirectory
(GETTEXT_PACKAGE, dll_name, "etc");
(NULL, dll_name, "etc");
return gtk_sysconfdir;
}
@@ -341,7 +341,7 @@ _gtk_get_data_prefix (void)
static char *gtk_data_prefix = NULL;
if (gtk_data_prefix == NULL)
gtk_data_prefix = g_win32_get_package_installation_directory
(GETTEXT_PACKAGE, dll_name);
(NULL, dll_name);
return gtk_data_prefix;
}