forked from AuroraMiddleware/gtk
ref, don't unref, requestor member when copying GdkEvents
This seems like a typo, we should obviously ref the member when copying. Apparently nobody copied GDK_SELECTION_* events...
This commit is contained in:
parent
0308352417
commit
6690e6dc58
@ -580,7 +580,7 @@ gdk_event_copy (const GdkEvent *event)
|
||||
case GDK_SELECTION_REQUEST:
|
||||
new_event->selection.requestor = event->selection.requestor;
|
||||
if (new_event->selection.requestor)
|
||||
g_object_unref (new_event->selection.requestor);
|
||||
g_object_ref (new_event->selection.requestor);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user