[gtk+/wip/otte/clipboard: 43/64] recentchooser: Port to GdkClipboard
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/otte/clipboard: 43/64] recentchooser: Port to GdkClipboard
- Date: Fri, 1 Dec 2017 05:25:50 +0000 (UTC)
commit 611679264da07e41f91cb9701fb2844f3d19ab18
Author: Benjamin Otte <otte redhat com>
Date: Sun Nov 26 07:54:55 2017 +0100
recentchooser: Port to GdkClipboard
gtk/gtkrecentchooserdefault.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkrecentchooserdefault.c b/gtk/gtkrecentchooserdefault.c
index 5f03ea3..223ba5a 100644
--- a/gtk/gtkrecentchooserdefault.c
+++ b/gtk/gtkrecentchooserdefault.c
@@ -1462,9 +1462,8 @@ copy_activated_cb (GtkMenuItem *menu_item,
utf8_uri = gtk_recent_info_get_uri_display (info);
- gtk_clipboard_set_text (gtk_widget_get_old_clipboard (GTK_WIDGET (impl),
- GDK_SELECTION_CLIPBOARD),
- utf8_uri, -1);
+ gdk_clipboard_set_text (gtk_widget_get_clipboard (GTK_WIDGET (impl)),
+ utf8_uri);
gtk_recent_info_unref (info);
g_free (utf8_uri);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]