changeset 7839:10fe9f6d2b23

[gaim-migrate @ 8492] Still kicking that Gtk2.0 habit committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Fri, 12 Dec 2003 16:00:24 +0000
parents b1ac84461c17
children 13334c29799b
files src/gtkimhtml.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkimhtml.c	Fri Dec 12 07:18:48 2003 +0000
+++ b/src/gtkimhtml.c	Fri Dec 12 16:00:24 2003 +0000
@@ -1239,7 +1239,9 @@
 	gtk_text_view_get_visible_rect(GTK_TEXT_VIEW(imhtml), &rect);
 	gtk_text_view_get_line_yrange(GTK_TEXT_VIEW(imhtml), &iter, &y, &height);
 
+#if GTK_CHECK_VERSION(2,2,0)
 	gtk_imhtml_clipboard_clear(NULL, imhtml);
+#endif
 	gtk_text_buffer_move_mark (imhtml->text_buffer,
 				   gtk_text_buffer_get_mark (imhtml->text_buffer, "insert"),
 				   &iter);