forked from AuroraMiddleware/gtk
quartz: don't call a NULL get_func() in gtk_clipboard_store()
Assume the clipboard is not set and bail out silently (bug #626499).
This commit is contained in:
parent
e3e055f855
commit
f1c105b94f
@ -1047,7 +1047,7 @@ gtk_clipboard_store (GtkClipboard *clipboard)
|
||||
|
||||
g_return_if_fail (GTK_IS_CLIPBOARD (clipboard));
|
||||
|
||||
if (!clipboard->target_list)
|
||||
if (!clipboard->target_list || !clipboard->get_func)
|
||||
return;
|
||||
|
||||
/* We simply store all targets into the OS X clipboard. We should be
|
||||
|
Loading…
Reference in New Issue
Block a user