Commit b886b017 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

special case the global buffer so it can be dropped, not only dragged

2005-07-23  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpselectiondata.c
	(gimp_selection_data_get_buffer): special case the global buffer
	so it can be dropped, not only dragged around.
parent 53ac1f4f
2005-07-23 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpselectiondata.c
(gimp_selection_data_get_buffer): special case the global buffer
so it can be dropped, not only dragged around.
2005-07-23 Michael Natterer <mitch@gimp.org>
* libgimpwidgets/gimppageselector.c: added a label showing the
......
......@@ -777,6 +777,9 @@ gimp_selection_data_get_buffer (GtkSelectionData *selection,
if (! name)
return NULL;
if (strcmp (name, "Global Buffer") == 0)
buffer = gimp->global_buffer;
else
buffer = (GimpBuffer *)
gimp_container_get_child_by_name (gimp->named_buffers, name);
......
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