15 lines
611 B
Diff
15 lines
611 B
Diff
Index: gtk+-2.14.4/gtk/gtkselection.c
|
|
===================================================================
|
|
--- gtk+-2.14.4.orig/gtk/gtkselection.c
|
|
+++ gtk+-2.14.4/gtk/gtkselection.c
|
|
@@ -1798,7 +1798,8 @@ gtk_selection_data_get_targets (GtkSelec
|
|
|
|
if (selection_data->length >= 0 &&
|
|
selection_data->format == 32 &&
|
|
- selection_data->type == GDK_SELECTION_TYPE_ATOM)
|
|
+ (selection_data->type == GDK_SELECTION_TYPE_ATOM ||
|
|
+ selection_data->type == gdk_atom_intern_static_string("TARGETS")))
|
|
{
|
|
if (targets)
|
|
*targets = g_memdup (selection_data->data, selection_data->length);
|