diff options
-rw-r--r-- | ui/gtk-clipboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk-clipboard.c b/ui/gtk-clipboard.c index 5e817ae..2c78de9 100644 --- a/ui/gtk-clipboard.c +++ b/ui/gtk-clipboard.c @@ -155,7 +155,7 @@ static void gd_owner_change(GtkClipboard *clipboard, switch (event->owner_change.reason) { - case GDK_SETTING_ACTION_NEW: + case GDK_OWNER_CHANGE_NEW_OWNER: info = qemu_clipboard_info_new(&gd->cbpeer, s); if (gtk_clipboard_wait_is_text_available(clipboard)) { info->types[QEMU_CLIPBOARD_TYPE_TEXT].available = true; |