[libbluray-devel] GUIManager: drop unused function

hpi1 git at videolan.org
Thu Sep 13 14:12:22 CEST 2018


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Tue Sep  4 15:38:04 2018 +0300| [a3636510dbb39fe81d8da04875b4b585c5ca5802] | committer: hpi1

GUIManager: drop unused function

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=a3636510dbb39fe81d8da04875b4b585c5ca5802
---

 src/libbluray/bdj/java/org/videolan/GUIManager.java | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/src/libbluray/bdj/java/org/videolan/GUIManager.java b/src/libbluray/bdj/java/org/videolan/GUIManager.java
index 88a464b1..1d69d298 100644
--- a/src/libbluray/bdj/java/org/videolan/GUIManager.java
+++ b/src/libbluray/bdj/java/org/videolan/GUIManager.java
@@ -20,9 +20,7 @@
 package org.videolan;
 
 import java.awt.BDRootWindow;
-import java.awt.AWTException;
 import java.awt.Component;
-import java.awt.image.BufferedImage;
 
 import org.havi.ui.HScene;
 
@@ -54,16 +52,6 @@ public class GUIManager extends BDRootWindow {
         }
     }
 
-    public BufferedImage createBufferedImage(int width, int height)
-            throws AWTException {
-        BufferedImage img = getGraphicsConfiguration().createCompatibleImage(width, height);
-
-        if (img == null)
-            throw new AWTException("Failed to create buffered image");
-
-        return img;
-    }
-
     public HScene getFocusHScene() {
         Component component = getFocusOwner();
         while (component != null) {



More information about the libbluray-devel mailing list