[goffice] compilation: warning fixes.
- From: Morten Welinder <mortenw src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [goffice] compilation: warning fixes.
- Date: Fri, 13 Nov 2009 14:07:26 +0000 (UTC)
commit e2d662ed071ba47528b0d7c01748feaf4414a438
Author: Morten Welinder <terra gnome org>
Date: Fri Nov 13 09:07:08 2009 -0500
compilation: warning fixes.
goffice/app/go-plugin-loader.c | 4 ++--
goffice/app/go-plugin-service.c | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/goffice/app/go-plugin-loader.c b/goffice/app/go-plugin-loader.c
index ad887d0..27b94c6 100644
--- a/goffice/app/go-plugin-loader.c
+++ b/goffice/app/go-plugin-loader.c
@@ -104,7 +104,7 @@ go_plugin_loader_load_service (GOPluginLoader *l, GOPluginService *s, GOErrorInf
} else if (GO_IS_PLUGIN_SERVICE_SIMPLE (s)) {
load_service_method = NULL;
} else {
- *err = go_error_info_new_printf (_("Service '%s' not supported by l."),
+ *err = go_error_info_new_printf (_("Service '%s' not supported by loader."),
G_OBJECT_TYPE_NAME (s));
}
if (load_service_method != NULL)
@@ -142,7 +142,7 @@ go_plugin_loader_unload_service (GOPluginLoader *l, GOPluginService *s, GOErrorI
} else if (GO_IS_PLUGIN_SERVICE_SIMPLE (s)) {
unload_service_method = NULL;
} else
- *err = go_error_info_new_printf (_("Service '%s' not supported by l."),
+ *err = go_error_info_new_printf (_("Service '%s' not supported by loader."),
G_OBJECT_TYPE_NAME (s));
if (unload_service_method != NULL)
diff --git a/goffice/app/go-plugin-service.c b/goffice/app/go-plugin-service.c
index 1e229f6..2a8ea2a 100644
--- a/goffice/app/go-plugin-service.c
+++ b/goffice/app/go-plugin-service.c
@@ -269,7 +269,7 @@ go_plugin_service_file_opener_read_xml (GOPluginService *service, xmlNode *tree,
if (!go_xml_node_get_bool (tree, "probe", &has_probe))
has_probe = TRUE;
- information_node = go_xml_get_child_by_name (tree, (xmlChar *)"information");
+ information_node = go_xml_get_child_by_name (tree, "information");
if (information_node != NULL) {
xmlNode *node;
xmlChar *val;
@@ -292,7 +292,7 @@ go_plugin_service_file_opener_read_xml (GOPluginService *service, xmlNode *tree,
xmlNode *list, *node;
GOPluginServiceFileOpener *service_file_opener = GO_PLUGIN_SERVICE_FILE_OPENER (service);
- list = go_xml_get_child_by_name (tree, (xmlChar *)"suffixes");
+ list = go_xml_get_child_by_name (tree, "suffixes");
if (list != NULL) {
for (node = list->xmlChildrenNode; node != NULL; node = node->next)
if (strcmp (node->name, "suffix") == 0 &&
@@ -301,7 +301,7 @@ go_plugin_service_file_opener_read_xml (GOPluginService *service, xmlNode *tree,
}
GO_SLIST_REVERSE (suffixes);
- list = go_xml_get_child_by_name (tree, (xmlChar *)"mime-types");
+ list = go_xml_get_child_by_name (tree, "mime-types");
if (list != NULL) {
for (node = list->xmlChildrenNode; node != NULL; node = node->next)
if (strcmp (node->name, "mime-type") == 0 &&
@@ -590,7 +590,7 @@ go_plugin_service_file_saver_read_xml (GOPluginService *service, xmlNode *tree,
gchar *description;
GO_INIT_RET_ERROR_INFO (ret_error);
- information_node = go_xml_get_child_by_name (tree, (xmlChar *)"information");
+ information_node = go_xml_get_child_by_name (tree, "information");
if (information_node != NULL) {
xmlNode *node;
xmlChar *val;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]