forked from AuroraMiddleware/gtk
Merge fix for bgo#463773 - Handle a NULL display in gtk_clipboard_get_for_display() so Flash won't hang
This commit is contained in:
commit
4134c346f9
@ -300,6 +300,7 @@ GtkClipboard *
|
||||
gtk_clipboard_get_for_display (GdkDisplay *display,
|
||||
GdkAtom selection)
|
||||
{
|
||||
g_return_val_if_fail (display != NULL, NULL); /* See bgo#463773; this is needed because Flash Player sucks */
|
||||
g_return_val_if_fail (GDK_IS_DISPLAY (display), NULL);
|
||||
g_return_val_if_fail (!display->closed, NULL);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user