Mercurial > pidgin
comparison src/gtkimhtml.c @ 7744:8569c1e32c12
[gaim-migrate @ 8389]
go to bed nathan
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Thu, 04 Dec 2003 08:34:18 +0000 |
parents | a5765980ea1e |
children | 9cc221f68107 |
comparison
equal
deleted
inserted
replaced
7743:a5765980ea1e | 7744:8569c1e32c12 |
---|---|
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 #ifndef 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), |