GtkContainerPeer.java (handleEvent): Check for null Graphics pointer returned by FileDialogPeer.
2003-12-16 Fernando Nasser <fnasser@redhat.com> * gnu/java/awt/peer/gtk/GtkContainerPeer.java (handleEvent): Check for null Graphics pointer returned by FileDialogPeer. From-SVN: r74744
This commit is contained in:
parent
5c832178f8
commit
310b075bd8
@ -1,3 +1,8 @@
|
||||
2003-12-16 Fernando Nasser <fnasser@redhat.com>
|
||||
|
||||
* gnu/java/awt/peer/gtk/GtkContainerPeer.java (handleEvent): Check for
|
||||
null Graphics pointer returned by FileDialogPeer.
|
||||
|
||||
2003-12-17 Michael Koch <konqueror@gmx.de>
|
||||
|
||||
* libltdl/stamp-h.in: Removed, not used anymore.
|
||||
|
@ -107,6 +107,11 @@ public class GtkContainerPeer extends GtkComponentPeer
|
||||
try
|
||||
{
|
||||
Graphics g = getGraphics ();
|
||||
|
||||
// Some peers like GtkFileDialogPeer are repainted by Gtk itself
|
||||
if (g == null)
|
||||
break;
|
||||
|
||||
g.setClip (((PaintEvent)event).getUpdateRect());
|
||||
|
||||
if (id == PaintEvent.PAINT)
|
||||
|
Loading…
Reference in New Issue
Block a user