From 3c47c8467cc7067e6aae93a99c6710667c05d4bb Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 13 Dec 2010 20:36:23 -0500 Subject: [PATCH] Remove some direct access to GdkDragContext members --- gtk/gtkclipboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkclipboard.c b/gtk/gtkclipboard.c index 245d1049e0..0c4063934e 100644 --- a/gtk/gtkclipboard.c +++ b/gtk/gtkclipboard.c @@ -301,7 +301,7 @@ gtk_clipboard_get_for_display (GdkDisplay *display, { 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); + g_return_val_if_fail (!gdk_display_is_closed (display), NULL); return clipboard_peek (display, selection, FALSE); }