Fixed comment typos
This commit is contained in:
parent
773b83eb8c
commit
ce12c0c208
@ -33,17 +33,18 @@ import dorkbox.systemTray.jna.JnaHelper;
|
|||||||
public
|
public
|
||||||
class AppIndicator {
|
class AppIndicator {
|
||||||
public static boolean isVersion3 = false;
|
public static boolean isVersion3 = false;
|
||||||
private static boolean isLoaded = false;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Loader for AppIndicator, because it is absolutely mindboggling how those whom maintain the standard, can't agree to what that
|
* Loader for AppIndicator, because it is absolutely mindboggling how those whom maintain the standard, can't agree to what that
|
||||||
* standard library naming convention or features/API set is. We just try until we find one that work, and are able to map the
|
* standard library naming convention or features/API set is. We just try until we find one that works, and are able to map the
|
||||||
* symbols we need. There are bash commands that will tell us the linked library name, however - I'd rather not run bash commands
|
* symbols we need. There are bash commands that will tell us the linked library name, however - I'd rather not run bash commands
|
||||||
* to determine this.
|
* to determine this.
|
||||||
*
|
*
|
||||||
* This is so hacky it makes me sick.
|
* This is so hacky it makes me sick.
|
||||||
*/
|
*/
|
||||||
static {
|
static {
|
||||||
|
boolean isLoaded = false;
|
||||||
|
|
||||||
// objdump -T /usr/lib/x86_64-linux-gnu/libappindicator.so.1 | grep foo
|
// objdump -T /usr/lib/x86_64-linux-gnu/libappindicator.so.1 | grep foo
|
||||||
// objdump -T /usr/lib/x86_64-linux-gnu/libappindicator3.so.1 | grep foo
|
// objdump -T /usr/lib/x86_64-linux-gnu/libappindicator3.so.1 | grep foo
|
||||||
|
|
||||||
|
@ -96,7 +96,7 @@ class Gtk {
|
|||||||
isGtk2 = true;
|
isGtk2 = true;
|
||||||
|
|
||||||
// when running inside of JavaFX, this will be '1'. All other times this should be '0'
|
// when running inside of JavaFX, this will be '1'. All other times this should be '0'
|
||||||
// when it's '1', it means that someone else has stared GTK -- so we DO NOT NEED TO.
|
// when it's '1', it means that someone else has started GTK -- so we DO NOT NEED TO.
|
||||||
alreadyRunningGTK = gtk_main_level() != 0;
|
alreadyRunningGTK = gtk_main_level() != 0;
|
||||||
isLoaded = true;
|
isLoaded = true;
|
||||||
|
|
||||||
@ -118,7 +118,7 @@ class Gtk {
|
|||||||
JnaHelper.register(gtk3LibName, Gtk.class);
|
JnaHelper.register(gtk3LibName, Gtk.class);
|
||||||
gtk_status_icon_position_menu = Function.getFunction(gtk3LibName, "gtk_status_icon_position_menu");
|
gtk_status_icon_position_menu = Function.getFunction(gtk3LibName, "gtk_status_icon_position_menu");
|
||||||
// when running inside of JavaFX, this will be '1'. All other times this should be '0'
|
// when running inside of JavaFX, this will be '1'. All other times this should be '0'
|
||||||
// when it's '1', it means that someone else has stared GTK -- so we DO NOT NEED TO.
|
// when it's '1', it means that someone else has started GTK -- so we DO NOT NEED TO.
|
||||||
alreadyRunningGTK = gtk_main_level() != 0;
|
alreadyRunningGTK = gtk_main_level() != 0;
|
||||||
isLoaded = true;
|
isLoaded = true;
|
||||||
|
|
||||||
@ -140,7 +140,7 @@ class Gtk {
|
|||||||
isGtk2 = true;
|
isGtk2 = true;
|
||||||
|
|
||||||
// when running inside of JavaFX, this will be '1'. All other times this should be '0'
|
// when running inside of JavaFX, this will be '1'. All other times this should be '0'
|
||||||
// when it's '1', it means that someone else has stared GTK -- so we DO NOT NEED TO.
|
// when it's '1', it means that someone else has started GTK -- so we DO NOT NEED TO.
|
||||||
alreadyRunningGTK = gtk_main_level() != 0;
|
alreadyRunningGTK = gtk_main_level() != 0;
|
||||||
isLoaded = true;
|
isLoaded = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user