Mercurial > pidgin.yaz
comparison src/gtkimhtml.c @ 7354:5a35881e9e89
[gaim-migrate @ 7945]
compile, THEN commit
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Mon, 27 Oct 2003 19:52:08 +0000 |
parents | dc35b4a42fea |
children | 78c1fc730dc4 |
comparison
equal
deleted
inserted
replaced
7353:dc35b4a42fea | 7354:5a35881e9e89 |
---|---|
375 } | 375 } |
376 text = gtk_text_buffer_get_text(imhtml->text_buffer, &last, &end, FALSE); | 376 text = gtk_text_buffer_get_text(imhtml->text_buffer, &last, &end, FALSE); |
377 str = g_string_append(str, text); | 377 str = g_string_append(str, text); |
378 g_free(text); | 378 g_free(text); |
379 | 379 |
380 if (!gtk_text_iter_equal(&start, &last); | 380 if (!gtk_text_iter_equal(&start, &last)) |
381 gtk_clipboard_set_text(clipboard ? clipboard : | 381 gtk_clipboard_set_text(clipboard ? clipboard : |
382 gtk_widget_get_clipboard(GTK_WIDGET(imhtml), GDK_SELECTION_CLIPBOARD), | 382 gtk_widget_get_clipboard(GTK_WIDGET(imhtml), GDK_SELECTION_CLIPBOARD), |
383 str->str, str->len); | 383 str->str, str->len); |
384 g_string_free(str, TRUE); | 384 g_string_free(str, TRUE); |
385 } | 385 } |
386 | 386 |
387 static gboolean button_release_cb(GtkIMHtml *imhtml, GdkEventButton event, gpointer the_foibles_of_man) | 387 static gboolean button_release_cb(GtkIMHtml *imhtml, GdkEventButton event, gpointer the_foibles_of_man) |
388 { | 388 { |