comparison src/gtkimhtml.c @ 5293:ead927e2543f

[gaim-migrate @ 5665] deryni says this should work. I hope so. Let there be paste! committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sun, 04 May 2003 00:17:15 +0000
parents 2d7f9a092b81
children fc0441fbf159
comparison
equal deleted inserted replaced
5292:436c83d60be0 5293:ead927e2543f
295 g_free(data); 295 g_free(data);
296 } 296 }
297 static void url_copy(GtkWidget *w, gchar *url) { 297 static void url_copy(GtkWidget *w, gchar *url) {
298 GtkClipboard *clipboard; 298 GtkClipboard *clipboard;
299 299
300 clipboard = gtk_clipboard_get(GDK_SELECTION_CLIPBOARD); 300 clipboard = gtk_clipboard_get(GDK_SELECTION_PRIMARY);
301 gtk_clipboard_set_text(clipboard, url, -1); 301 gtk_clipboard_set_text(clipboard, url, -1);
302 } 302 }
303 303
304 /* The callback for an event on a link tag. */ 304 /* The callback for an event on a link tag. */
305 gboolean tag_event(GtkTextTag *tag, GObject *imhtml, GdkEvent *event, GtkTextIter *arg2, char *url) { 305 gboolean tag_event(GtkTextTag *tag, GObject *imhtml, GdkEvent *event, GtkTextIter *arg2, char *url) {