aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti2013-03-21 15:11:36 (EDT)
committerCarolyn MacLeod2013-04-09 10:56:50 (EDT)
commit89c2d5a94211d4c4787a1484dbd22955476c7567 (patch)
treeb79a06668a07c7212fdd934e9924bd54cdbb379e
parentf4cbbc0312ee1f73186b218d1edf42c2f17e936b (diff)
downloadeclipse.platform.swt-89c2d5a94211d4c4787a1484dbd22955476c7567.zip
eclipse.platform.swt-89c2d5a94211d4c4787a1484dbd22955476c7567.tar.gz
eclipse.platform.swt-89c2d5a94211d4c4787a1484dbd22955476c7567.tar.bz2
Bug 399522 - [GTK3] frequent get_column_number critical error spews
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Device.java5
1 files changed, 4 insertions, 1 deletions
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 9e09522..0a223eb 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 ();