diff --git a/src/dorkbox/systemTray/jna/linux/Gobject.java b/src/dorkbox/systemTray/jna/linux/Gobject.java index 1b01385..d8511ab 100644 --- a/src/dorkbox/systemTray/jna/linux/Gobject.java +++ b/src/dorkbox/systemTray/jna/linux/Gobject.java @@ -20,7 +20,6 @@ import static dorkbox.systemTray.SystemTray.logger; import com.sun.jna.Callback; import com.sun.jna.NativeLibrary; import com.sun.jna.Pointer; -import com.sun.jna.ptr.PointerByReference; import dorkbox.systemTray.jna.JnaHelper; @@ -45,8 +44,6 @@ class Gobject { // objdump -T /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 | grep block - public static native void g_object_get(Pointer object, String objectName, PointerByReference objectVal, Pointer nullValue); - public static native void g_object_unref(Pointer object); public static native void g_object_force_floating(Pointer object); diff --git a/src/dorkbox/systemTray/jna/linux/Gtk.java b/src/dorkbox/systemTray/jna/linux/Gtk.java index 0ab1edc..cea32f6 100644 --- a/src/dorkbox/systemTray/jna/linux/Gtk.java +++ b/src/dorkbox/systemTray/jna/linux/Gtk.java @@ -58,7 +58,7 @@ class Gtk { private static final boolean alreadyRunningGTK; // when debugging the EDT, we need a longer timeout. - private static final boolean debugEDT = false; + private static final boolean debugEDT = true; // This is required because the EDT needs to have it's own value for this boolean, that is a different value than the main thread private static ThreadLocal isDispatch = new ThreadLocal() { @@ -554,9 +554,6 @@ class Gtk { public static native void gtk_menu_shell_append(Pointer menu_shell, Pointer child); - // Typically this results in the menu shell being erased from the screen - public static native void gtk_menu_shell_deactivate(Pointer menuShell); - public static native void gtk_widget_set_sensitive(Pointer widget, boolean sensitive); public static native void gtk_widget_show_all(Pointer widget);