diff options
author | Kristian Rietveld <kris@gtk.org> | 2010-12-22 15:46:10 +0100 |
---|---|---|
committer | Kristian Rietveld <kris@gtk.org> | 2010-12-22 17:47:03 +0100 |
commit | 4a6c50c2989a703faee31ecc60751bb5b2bfb4ee (patch) | |
tree | 4d277bf91bb9e4f9ac3ca7bad4c7b36b03619868 /gtk/gtkclipboard-quartz.c | |
parent | 44d9fb2d711e976965ee3899ee6c7acb8cec9f54 (diff) | |
download | gtk+-4a6c50c2989a703faee31ecc60751bb5b2bfb4ee.tar.gz |
gtkclipboard-quartz: use accessors and add missing include
Diffstat (limited to 'gtk/gtkclipboard-quartz.c')
-rw-r--r-- | gtk/gtkclipboard-quartz.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkclipboard-quartz.c b/gtk/gtkclipboard-quartz.c index f433070ce1..a77d44379f 100644 --- a/gtk/gtkclipboard-quartz.c +++ b/gtk/gtkclipboard-quartz.c @@ -31,6 +31,7 @@ #include "gtkmarshalers.h" #include "gtkintl.h" #include "gtktextbuffer.h" +#include "gtkselectionprivate.h" #include "gtkquartz.h" @@ -252,7 +253,7 @@ gtk_clipboard_get_for_display (GdkDisplay *display, GdkAtom selection) { 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); } |