diff options
author | Mikael Hallendal <micke@codefactory.se> | 2002-05-06 02:32:25 +0000 |
---|---|---|
committer | Mikael Hallendal <hallski@src.gnome.org> | 2002-05-06 02:32:25 +0000 |
commit | c74708c90781fa4d9e71076b4a0f48a631b37829 (patch) | |
tree | a222c21d1b1055e3c77c3e14bf5cae71bcc2dc05 | |
parent | 492dc830e6c1fad4571d18a974a62bb5856a069d (diff) | |
download | yelp-c74708c90781fa4d9e71076b4a0f48a631b37829.tar.gz |
- Fixes #80800 (ys_parse_index): silenced warning.
2002-05-06 Mikael Hallendal <micke@codefactory.se>
* src/yelp-scrollkeeper.c:
- Fixes #80800
(ys_parse_index): silenced warning.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/yelp-db2html.c | 4 | ||||
-rw-r--r-- | src/yelp-error.h | 1 | ||||
-rw-r--r-- | src/yelp-scrollkeeper.c | 1 |
4 files changed, 6 insertions, 4 deletions
@@ -1,5 +1,9 @@ 2002-05-06 Mikael Hallendal <micke@codefactory.se> + * src/yelp-scrollkeeper.c: + - Fixes #80800 + (ys_parse_index): silenced warning. + * src/yelp-window.c: - use YelpURI. (yw_handle_uri): somewhat cleaned up after YelpURI. diff --git a/src/yelp-db2html.c b/src/yelp-db2html.c index cf0d5a88..cb269e11 100644 --- a/src/yelp-db2html.c +++ b/src/yelp-db2html.c @@ -125,9 +125,9 @@ yelp_db2html_convert (const gchar *document, } if (!strcmp(gdb_split_docname[1], "sgml")) { - gdb_doc = docbParseFile(gdb_docname, "UTF-8"); + gdb_doc = docbParseFile (gdb_docname, "UTF-8"); } else { - (gdb_doc = xmlParseFile(gdb_docname)); + (gdb_doc = xmlParseFile (gdb_docname)); } if (gdb_doc == NULL) { /* FIXME: Set something in the GError */ diff --git a/src/yelp-error.h b/src/yelp-error.h index 02021c70..23767739 100644 --- a/src/yelp-error.h +++ b/src/yelp-error.h @@ -29,7 +29,6 @@ typedef enum { YELP_ERROR_URI_NOT_EXIST, YELP_ERROR_DOCBOOK_2_HTML, YELP_ERROR_FAILED_OPEN - } YelpError; GQuark yelp_error_quark (void) G_GNUC_CONST; diff --git a/src/yelp-scrollkeeper.c b/src/yelp-scrollkeeper.c index ff8101a7..18cbc122 100644 --- a/src/yelp-scrollkeeper.c +++ b/src/yelp-scrollkeeper.c @@ -399,7 +399,6 @@ ys_parse_index (GList **index) GNOME_VFS_FILE_INFO_DEFAULT); if (result != GNOME_VFS_OK) { - g_warning ("Error opening index directory: %s\n", index_dir); return FALSE; } |