Commit 2c544f73 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

added missing casts.

2005-07-17  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdnd-xds.c: added missing casts.
parent 1612db65
2005-07-17 Sven Neumann <sven@gimp.org>
* app/widgets/gimpdnd-xds.c: added missing casts.
2005-07-17 Manish Singh <yosh@gimp.org>
* plug-ins/pygimp/gimpmodule.c
......
......@@ -88,7 +88,8 @@ gimp_dnd_xds_source_set (GdkDragContext *context,
gdk_property_change (context->source_window,
property, type, 8, GDK_PROP_MODE_REPLACE,
basename, basename ? strlen (basename) : 0);
(const guchar *) basename,
basename ? strlen (basename) : 0);
g_free (basename);
g_free (filename);
......@@ -142,11 +143,13 @@ gimp_dnd_xds_save_image (GdkDragContext *context,
uri, proc, GIMP_RUN_INTERACTIVE, FALSE,
&error) == GIMP_PDB_SUCCESS)
{
gtk_selection_data_set (selection, selection->target, 8, "S", 1);
gtk_selection_data_set (selection, selection->target, 8,
(const guchar *) "S", 1);
}
else
{
gtk_selection_data_set (selection, selection->target, 8, "E", 1);
gtk_selection_data_set (selection, selection->target, 8,
(const guchar *) "E", 1);
if (error)
{
......@@ -165,7 +168,8 @@ gimp_dnd_xds_save_image (GdkDragContext *context,
}
else
{
gtk_selection_data_set (selection, selection->target, 8, "E", 1);
gtk_selection_data_set (selection, selection->target, 8,
(const guchar *) "E", 1);
g_message (_("The given filename does not have any known "
"file extension."));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment