[gtk+/wip/otte/clipboard: 109/117] linkbutton: Port to GdkClipboard
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/otte/clipboard: 109/117] linkbutton: Port to GdkClipboard
- Date: Tue, 28 Nov 2017 02:25:41 +0000 (UTC)
commit e4fd311dd1680eb52b973f0a85c096f1c1661413
Author: Benjamin Otte <otte redhat com>
Date: Sun Nov 26 07:38:12 2017 +0100
linkbutton: Port to GdkClipboard
gtk/gtklinkbutton.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtklinkbutton.c b/gtk/gtklinkbutton.c
index 7ff8326..4107f0d 100644
--- a/gtk/gtklinkbutton.c
+++ b/gtk/gtklinkbutton.c
@@ -332,9 +332,8 @@ copy_activate_cb (GtkWidget *widget,
{
GtkLinkButtonPrivate *priv = link_button->priv;
- gtk_clipboard_set_text (gtk_widget_get_old_clipboard (GTK_WIDGET (link_button),
- GDK_SELECTION_CLIPBOARD),
- priv->uri, -1);
+ gdk_clipboard_set_text (gtk_widget_get_clipboard (GTK_WIDGET (link_button)),
+ priv->uri);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]