diff options
author | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2005-06-06 20:42:49 (GMT) |
---|---|---|
committer | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2005-06-06 20:42:49 (GMT) |
commit | 2d7d2bb4d1430ee3f94daa53a55ed6ee5b4c2ba0 (patch) | |
tree | 0e2462a4d71d0435df186a52f3775b60ea33c936 /cut-n-paste/toolbar-editor/egg-toolbar-editor.c | |
parent | 83b065151b9494be0f5778075874a80cec2fa636 (diff) |
Fix gcc 4.0 warnings
Diffstat (limited to 'cut-n-paste/toolbar-editor/egg-toolbar-editor.c')
-rw-r--r-- | cut-n-paste/toolbar-editor/egg-toolbar-editor.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cut-n-paste/toolbar-editor/egg-toolbar-editor.c b/cut-n-paste/toolbar-editor/egg-toolbar-editor.c index f3ba1e9..4158d0e 100644 --- a/cut-n-paste/toolbar-editor/egg-toolbar-editor.c +++ b/cut-n-paste/toolbar-editor/egg-toolbar-editor.c @@ -366,7 +366,7 @@ drag_data_get_cb (GtkWidget *widget, } gtk_selection_data_set (selection_data, - selection_data->target, 8, target, strlen (target)); + selection_data->target, 8, (unsigned char *)target, strlen (target)); } static gchar * @@ -619,12 +619,12 @@ parse_item_list (EggToolbarEditor *t, { while (child) { - if (xmlStrEqual (child->name, "toolitem")) + if (xmlStrEqual (child->name, (xmlChar *)"toolitem")) { xmlChar *name; - name = xmlGetProp (child, "name"); - egg_toolbar_editor_add_action (t, name); + name = xmlGetProp (child, (xmlChar *)"name"); + egg_toolbar_editor_add_action (t, (char *)name); xmlFree (name); } child = child->next; @@ -692,7 +692,7 @@ egg_toolbar_editor_load_actions (EggToolbarEditor *editor, while (child) { - if (xmlStrEqual (child->name, "available")) + if (xmlStrEqual (child->name, (xmlChar *)"available")) { parse_item_list (editor, child->children); } |