From 592062ebd6329cbebbd83a7e8dec8e6a91778765 Mon Sep 17 00:00:00 2001 From: Silenio Quarti Date: Thu, 21 Mar 2013 15:11:36 -0400 Subject: Bug 399522 - [GTK3] frequent get_column_number critical error spews --- .../Eclipse SWT/gtk/org/eclipse/swt/graphics/Device.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Device.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Device.java index 9e09522916..0a223eb1d9 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Device.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Device.java @@ -58,7 +58,7 @@ public abstract class Device implements Drawable { long /*int*/ logProc; Callback logCallback; //NOT DONE - get list of valid names - String [] log_domains = {"GLib-GObject", "GLib", "GObject", "Pango", "ATK", "GdkPixbuf", "Gdk", "Gtk", "GnomeVFS", "GIO"}; + String [] log_domains = {"", "GLib-GObject", "GLib", "GObject", "Pango", "ATK", "GdkPixbuf", "Gdk", "Gtk", "GnomeVFS", "GIO"}; int [] handler_ids = new int [log_domains.length]; int warningLevel; @@ -750,6 +750,9 @@ public boolean loadFont (String path) { } long /*int*/ logProc (long /*int*/ log_domain, long /*int*/ log_level, long /*int*/ message, long /*int*/ user_data) { + if (DEBUG) { + new Error ().printStackTrace (); + } if (warningLevel == 0) { if (DEBUG || debug) { new Error ().printStackTrace (); -- cgit