Mercurial > pidgin
comparison src/gtkimhtml.c @ 7743:a5765980ea1e
[gaim-migrate @ 8388]
go to bed sean
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Thu, 04 Dec 2003 08:30:49 +0000 |
parents | 6cd69aa58253 |
children | 8569c1e32c12 |
comparison
equal
deleted
inserted
replaced
7742:6cd69aa58253 | 7743:a5765980ea1e |
---|---|
387 text = gtk_text_buffer_get_text(imhtml->text_buffer, &last, &end, FALSE); | 387 text = gtk_text_buffer_get_text(imhtml->text_buffer, &last, &end, FALSE); |
388 str = g_string_append(str, text); | 388 str = g_string_append(str, text); |
389 g_free(text); | 389 g_free(text); |
390 | 390 |
391 if (!gtk_text_iter_equal(&start, &last)) | 391 if (!gtk_text_iter_equal(&start, &last)) |
392 #infdef WIN32 | 392 #ifndef WIN32 |
393 gtk_clipboard_set_text(gtk_widget_get_clipboard(GTK_WIDGET(imhtml), GDK_SELECTION_CLIPBOARD), | 393 gtk_clipboard_set_text(gtk_widget_get_clipboard(GTK_WIDGET(imhtml), GDK_SELECTION_CLIPBOARD), |
394 str->str, str->len); | 394 str->str, str->len); |
395 #endif | 395 #endif |
396 gtk_clipboard_set_text(clipboard ? clipboard : | 396 gtk_clipboard_set_text(clipboard ? clipboard : |
397 gtk_widget_get_clipboard(GTK_WIDGET(imhtml), GDK_SELECTION_CLIPBOARD), | 397 gtk_widget_get_clipboard(GTK_WIDGET(imhtml), GDK_SELECTION_CLIPBOARD), |