mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Compatiblility with Rhno+Continuations fork: added Main.setSize(Dimension)
This commit is contained in:
parent
326fb69d8a
commit
ab4159c06b
@ -178,6 +178,14 @@ public class Main implements ContextListener
|
||||
debugGui.setSize(w, h);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Use {@link #setSize(int, int)} instead.
|
||||
*/
|
||||
public void setSize(java.awt.Dimension dimension)
|
||||
{
|
||||
debugGui.setSize(dimension.width, dimension.height);
|
||||
}
|
||||
|
||||
public void setVisible(boolean flag)
|
||||
{
|
||||
debugGui.setVisible(flag);
|
||||
|
Loading…
Reference in New Issue
Block a user