summaryrefslogtreecommitdiff
path: root/src/gdk/cdgdkclp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gdk/cdgdkclp.c')
-rw-r--r--src/gdk/cdgdkclp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gdk/cdgdkclp.c b/src/gdk/cdgdkclp.c
index 3eabc54..16eb1c7 100644
--- a/src/gdk/cdgdkclp.c
+++ b/src/gdk/cdgdkclp.c
@@ -43,7 +43,9 @@ static void cdkillcanvas(cdCtxCanvas *ctxcanvas)
remove(filename);
+#if GTK_CHECK_VERSION(2, 6, 0)
gtk_clipboard_store(clipboard);
+#endif
}
static int cdplay(cdCanvas* canvas, int xmin, int xmax, int ymin, int ymax, void *data)