gnumeric r17124 - in trunk: . src
- From: mortenw svn gnome org
- To: svn-commits-list gnome org
- Subject: gnumeric r17124 - in trunk: . src
- Date: Thu, 5 Feb 2009 13:54:54 +0000 (UTC)
Author: mortenw
Date: Thu Feb 5 13:54:54 2009
New Revision: 17124
URL: http://svn.gnome.org/viewvc/gnumeric?rev=17124&view=rev
Log:
2009-02-05 Morten Welinder <terra gnome org>
* src/gui-clipboard.c (x_targets_received): Activate debugging
code, see http://bugzilla.gnome.org/show_bug.cgi?id=564166#c4
Modified:
trunk/ChangeLog
trunk/src/gui-clipboard.c
Modified: trunk/src/gui-clipboard.c
==============================================================================
--- trunk/src/gui-clipboard.c (original)
+++ trunk/src/gui-clipboard.c Thu Feb 5 13:54:54 2009
@@ -397,7 +397,7 @@
*/
static void
x_targets_received (GtkClipboard *clipboard, GdkAtom *targets,
- gint n_targets, gpointer closure)
+ gint n_targets, gpointer closure)
{
GnmGtkClipboardCtxt *ctxt = closure;
GdkAtom table_atom = GDK_NONE;
@@ -433,10 +433,13 @@
return;
}
-#if 0
- for (j = 0; j < n_targets && table_atom == GDK_NONE; j++)
- puts (gdk_atom_name (targets[j]));
-#endif
+ if (debug_clipboard ()) {
+ int j;
+
+ for (j = 0; j < n_targets && table_atom == GDK_NONE; j++)
+ g_printerr ("Clipboard target %d is %s\n",
+ j, gdk_atom_name (targets[j]));
+ }
/* The data is a list of atoms */
/* Find the best table format offered */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]