[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug awt/32645] New: Possibly wrong assertions in GTK Peer
From: |
peter dot molnar at wm dot sk |
Subject: |
[Bug awt/32645] New: Possibly wrong assertions in GTK Peer |
Date: |
6 Jul 2007 12:12:10 -0000 |
In Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf
(native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c, CVS head)
there are possibly two wrong assertions that fail on my system:
Line 105:
GtkWidget *widget = NULL;
void *ptr = NULL;
gdk_threads_enter();
ptr = gtkpeer_get_widget (env, peer);
g_assert (widget != NULL); // <------------ FAILS
widget = GTK_WIDGET (ptr);
g_assert (ptr != NULL);
It seems to me like the assertions should be swapped.
--
Summary: Possibly wrong assertions in GTK Peer
Product: classpath
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: awt
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: peter dot molnar at wm dot sk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32645
- [Bug awt/32645] New: Possibly wrong assertions in GTK Peer,
peter dot molnar at wm dot sk <=