ui/gtk-clipboard: fix clipboard enum typo
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20210805135715.857938-5-marcandre.lureau@redhat.com> Acked-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
c311e8d7ff
commit
6b32aef09a
@ -155,7 +155,7 @@ static void gd_owner_change(GtkClipboard *clipboard,
|
|||||||
|
|
||||||
|
|
||||||
switch (event->owner_change.reason) {
|
switch (event->owner_change.reason) {
|
||||||
case GDK_SETTING_ACTION_NEW:
|
case GDK_OWNER_CHANGE_NEW_OWNER:
|
||||||
info = qemu_clipboard_info_new(&gd->cbpeer, s);
|
info = qemu_clipboard_info_new(&gd->cbpeer, s);
|
||||||
if (gtk_clipboard_wait_is_text_available(clipboard)) {
|
if (gtk_clipboard_wait_is_text_available(clipboard)) {
|
||||||
info->types[QEMU_CLIPBOARD_TYPE_TEXT].available = true;
|
info->types[QEMU_CLIPBOARD_TYPE_TEXT].available = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user