summaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorBenedikt Meurer <benny@xfce.org>2006-07-16 08:17:54 +0000
committerBenedikt Meurer <benny@xfce.org>2006-07-16 08:17:54 +0000
commitec56a9f74ebfc344662f31a7563444aa9bde15c3 (patch)
tree9184e2b434c8003f4e0c6d076bda6bf2f0e0be01 /engines
parent405da494635d73256afbf99577c41503d1e4b341 (diff)
downloadxfce4-session-ec56a9f74ebfc344662f31a7563444aa9bde15c3.tar.gz
2006-07-16 Benedikt Meurer <benny@xfce.org>
* engines/balou/config.c, xfce4-session/xfsm-legacy.c: Apply patch from Nick Schermer <nick@xfce.org> to fix a bunch of compiler warnings. (Old svn revision: 22459)
Diffstat (limited to 'engines')
-rw-r--r--engines/balou/config.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/balou/config.c b/engines/balou/config.c
index a6df49f7..4b260332 100644
--- a/engines/balou/config.c
+++ b/engines/balou/config.c
@@ -705,7 +705,7 @@ config_drag_begin (GtkWidget *treeview,
gdk_property_change (context->source_window,
gdk_atom_intern ("XdndDirectSave0", FALSE),
gdk_atom_intern ("text/plain", FALSE), 8,
- GDK_PROP_MODE_REPLACE, filename, strlen (filename));
+ GDK_PROP_MODE_REPLACE, (const guchar *)filename, strlen (filename));
g_free (filename);
g_free (name);
@@ -748,7 +748,7 @@ config_drag_data_get (GtkWidget *treeview,
prop_text = g_realloc (prop_text, prop_len + 1);
prop_text[prop_len] = '\0';
- localpath = extract_local_path (prop_text);
+ localpath = extract_local_path ((gchar *)prop_text);
if (localpath != NULL)
{
@@ -766,7 +766,7 @@ config_drag_data_get (GtkWidget *treeview,
}
gtk_selection_data_set (selection_data, gdk_atom_intern ("XA_STRING", FALSE),
- 8, to_send, 1);
+ 8, (const guchar *)to_send, 1);
g_free (name);
}