Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
GIMP
Commits
2c544f73
Commit
2c544f73
authored
Jul 17, 2005
by
Sven Neumann
Committed by
Sven Neumann
Jul 17, 2005
Browse files
added missing casts.
2005-07-17 Sven Neumann <sven@gimp.org> * app/widgets/gimpdnd-xds.c: added missing casts.
parent
1612db65
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
2c544f73
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
...
...
app/widgets/gimpdnd-xds.c
View file @
2c544f73
...
...
@@ -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."
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment