Commit ee886b63 authored by Maciej Stachowiak's avatar Maciej Stachowiak

a const char* can't be passed where a gchar* is expected.

	* src/ntl-uri-map.c (nautilus_navinfo_new): a const char* can't be
	passed where a gchar* is expected.
parent 025cf15b
1999-12-14 Maciej Stachowiak <mjs@eazel.com>
* src/ntl-uri-map.c (nautilus_navinfo_new): a const char* can't be
passed where a gchar* is expected.
1999-12-14 Darin Adler <darin@eazel.com>
* configure.in: Turned on more warnings, including -Werror.
......
......@@ -34,7 +34,7 @@ nautilus_navinfo_new(NautilusNavigationInfo *navinfo,
Nautilus_NavigationInfo *old_navinfo,
NautilusView *requesting_view)
{
const char *meta_keys[] = {"icon-filename", NULL};
gchar *meta_keys[] = {"icon-filename", NULL};
memset(navinfo, 0, sizeof(*navinfo));
navinfo->navinfo.requested_uri = nri->requested_uri;
......
......@@ -34,7 +34,7 @@ nautilus_navinfo_new(NautilusNavigationInfo *navinfo,
Nautilus_NavigationInfo *old_navinfo,
NautilusView *requesting_view)
{
const char *meta_keys[] = {"icon-filename", NULL};
gchar *meta_keys[] = {"icon-filename", NULL};
memset(navinfo, 0, sizeof(*navinfo));
navinfo->navinfo.requested_uri = nri->requested_uri;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment