comparison pidgin/gtkimhtml.c @ 21558:adc4da4ff21c

Turns out this isn't a bug, nor is it win32-specific, and that we're misusing gtk_imhtml_clipboard_clear(). The reason this started being a problem was the fix to make the clipboard data set instead the owner set.
author Daniel Atallah <daniel.atallah@gmail.com>
date Fri, 16 Nov 2007 19:11:08 +0000
parents cba1683eeafc
children 3aa34d20d798 98604b4bfa3b
comparison
equal deleted inserted replaced
21557:cba1683eeafc 21558:adc4da4ff21c
958 } 958 }
959 959
960 static void gtk_imhtml_clipboard_clear (GtkClipboard *clipboard, GtkSelectionData *sel_data, 960 static void gtk_imhtml_clipboard_clear (GtkClipboard *clipboard, GtkSelectionData *sel_data,
961 guint info, gpointer user_data_or_owner) 961 guint info, gpointer user_data_or_owner)
962 { 962 {
963 #ifndef _WIN32
964 clipboard_selection = NULL;
965 #endif
966 } 963 }
967 964
968 static void copy_clipboard_cb(GtkIMHtml *imhtml, gpointer unused) 965 static void copy_clipboard_cb(GtkIMHtml *imhtml, gpointer unused)
969 { 966 {
970 GtkTextIter start, end; 967 GtkTextIter start, end;