[gtk+/gdk-backend: 17/91] Remove some direct access to GdkDragContext members
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gdk-backend: 17/91] Remove some direct access to GdkDragContext members
- Date: Sat, 18 Dec 2010 01:07:15 +0000 (UTC)
commit 971b2c3478ff484be51730aaec76bf742dc016e3
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Dec 13 20:36:23 2010 -0500
Remove some direct access to GdkDragContext members
gtk/gtkclipboard.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkclipboard.c b/gtk/gtkclipboard.c
index 245d104..0c40639 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]