diff options
Diffstat (limited to 'lib/egg/egg-toolbar-editor.c')
-rwxr-xr-x | lib/egg/egg-toolbar-editor.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/egg/egg-toolbar-editor.c b/lib/egg/egg-toolbar-editor.c index 185703819..bd79724a8 100755 --- a/lib/egg/egg-toolbar-editor.c +++ b/lib/egg/egg-toolbar-editor.c @@ -366,7 +366,8 @@ drag_data_get_cb (GtkWidget *widget, } gtk_selection_data_set (selection_data, - selection_data->target, 8, target, strlen (target)); + selection_data->target, 8, + (const guchar *)target, strlen (target)); } static gchar * @@ -602,12 +603,12 @@ parse_item_list (EggToolbarEditor *t, { while (child) { - if (xmlStrEqual (child->name, "toolitem")) + if (xmlStrEqual (child->name, (const xmlChar*) "toolitem")) { xmlChar *name; - name = xmlGetProp (child, "name"); - egg_toolbar_editor_add_action (t, name); + name = xmlGetProp (child, (const xmlChar*) "name"); + egg_toolbar_editor_add_action (t, (const char*)name); xmlFree (name); } child = child->next; @@ -675,7 +676,7 @@ egg_toolbar_editor_load_actions (EggToolbarEditor *editor, while (child) { - if (xmlStrEqual (child->name, "available")) + if (xmlStrEqual (child->name, (const xmlChar*) "available")) { parse_item_list (editor, child->children); } |