[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
] [
List Home
]
Re: [platform-swt-dev] possible gtk-linux bug?
From
: Steve Northover <
Steve_Northover@xxxxxxxxxx
>
Date
: Mon, 9 Jun 2008 10:44:43 -0400
Delivered-to
: platform-swt-dev@eclipse.org
This is a bug. Please enter a bug report and we'll fix it.
"Frank Benoit" <keinfarbton@xxxxxxxxxxxxxx>
Sent by: platform-swt-dev-bounces@xxxxxxxxxxx
06/07/2008 08:57 PM
Please respond to
"Eclipse Platform SWT component developers list." <platform-swt-dev@xxxxxxxxxxx>
To
platform-swt-dev@xxxxxxxxxxx
cc
Subject
[platform-swt-dev] possible gtk-linux bug?
I am working on a SWT port to another language, and i got an GTK assertion, triggered by that code:
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt/Eclipse%20SWT/gtk/org/eclipse/swt/widgets/Shell.java?annotate=1.274
1989 : int /*long*/ window = OS.gdk_window_at_pointer (x, y);
1990 : int /*long*/ [] user_data = new int /*long*/ [1];
1991 : OS.gdk_window_get_user_data (window, user_data);
Line 1989 can set the window to NULL and gdk_window_get_user_data prints then the assertion.
If i change the line 1991 to
1991 : if( window != 0 ) OS.gdk_window_get_user_data (window, user_data);
the assertion goes away.
Is this now a bug fix, or did i miss something?
Frank
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
References
:
[platform-swt-dev] possible gtk-linux bug?
From:
Frank Benoit
Prev by Date:
Re: [platform-swt-dev] Porting eclipse to macosx-gtk-x86
Next by Date:
[platform-swt-dev] Does SWT (in Eclipse 3.2 or w.4) support embedding of GTK widgets inside the SWT widgets?
Previous by thread:
[platform-swt-dev] possible gtk-linux bug?
Next by thread:
[platform-swt-dev] Does SWT (in Eclipse 3.2 or w.4) support embedding of GTK widgets inside the SWT widgets?
Index(es):
Date
Thread