forked from AuroraMiddleware/gtk
Avoid a crash
pointed out in bug 533745
This commit is contained in:
parent
187762d8b3
commit
3adb7c7a49
@ -451,6 +451,7 @@ GdkAtom
|
||||
gdk_drag_get_selection (GdkDragContext *context)
|
||||
{
|
||||
g_return_val_if_fail (GDK_IS_DRAG_CONTEXT (context), GDK_NONE);
|
||||
g_return_val_if_fail (context->source_window != NULL, GDK_NONE);
|
||||
|
||||
return GDK_DRAG_CONTEXT_GET_CLASS (context)->get_selection (context);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user