Commit 757856df authored by Pavel Cisler's avatar Pavel Cisler Committed by Pavel Cisler
Browse files

Make the help component build properly -- convert the call

2000-07-02  Pavel Cisler <pavel@eazel.com>

	* components/help/help-method.c: (convert_file_to_uri):
	Make the help component build properly -- convert the call
	gnome_vfs_mime_type_of_file to the new
	gnome_vfs_get_file_mime_type.

	* components/help/Makefile.am:
	Turn on -Werror that would have caught the problem earlier.
parent 109d5ae0
2000-07-02 Pavel Cisler <pavel@eazel.com>
* components/help/help-method.c: (convert_file_to_uri):
Make the help component build properly -- convert the call
gnome_vfs_mime_type_of_file to the new
gnome_vfs_get_file_mime_type.
* components/help/Makefile.am:
Turn on -Werror that would have caught the problem earlier.
2000-07-02 Andy Hertzfeld <andy@eazel.com> 2000-07-02 Andy Hertzfeld <andy@eazel.com>
......
...@@ -11,6 +11,7 @@ INCLUDES = \ ...@@ -11,6 +11,7 @@ INCLUDES = \
$(GCONF_CFLAGS) \ $(GCONF_CFLAGS) \
$(VFS_CFLAGS) \ $(VFS_CFLAGS) \
$(XML_CFLAGS) \ $(XML_CFLAGS) \
$(WERROR) \
-DHYPERBOLA_DATADIR=\""$(datadir)/hyperbola"\" \ -DHYPERBOLA_DATADIR=\""$(datadir)/hyperbola"\" \
-DGNOMELOCALEDIR=\""$(datadir)/locale"\" \ -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
-DINFODIR=\"$(infodir)\" -DINFODIR=\"$(infodir)\"
......
...@@ -162,7 +162,7 @@ convert_file_to_uri (HelpURI *help_uri, gchar *file) ...@@ -162,7 +162,7 @@ convert_file_to_uri (HelpURI *help_uri, gchar *file)
} }
help_uri->file = file; help_uri->file = file;
mime_type = gnome_vfs_mime_type_of_file (file); mime_type = gnome_vfs_get_file_mime_type (file, NULL, FALSE);
#ifdef ALI_DEBUG #ifdef ALI_DEBUG
g_print ("*** the file's mime_type is: %s\n",mime_type); g_print ("*** the file's mime_type is: %s\n",mime_type);
#endif #endif
......
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