[gtk+/wip/otte/clipboard: 85/107] recentchooser: Port to GdkClipboard
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/otte/clipboard: 85/107] recentchooser: Port to GdkClipboard
- Date: Fri, 1 Dec 2017 14:05:05 +0000 (UTC)
commit 91fe6b8c1adfc8edaddc675286626e3057173390
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 2e3708b..c7f5552 100644
--- a/gtk/gtkrecentchooserdefault.c
+++ b/gtk/gtkrecentchooserdefault.c
@@ -1460,9 +1460,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]