Cleaned up comments
This commit is contained in:
parent
488ca5564d
commit
57450fa35b
|
@ -42,7 +42,7 @@ class Gtk {
|
||||||
// For funsies to look at, SyncThing did a LOT of work on compatibility in python (unfortunate for us, but interesting).
|
// For funsies to look at, SyncThing did a LOT of work on compatibility in python (unfortunate for us, but interesting).
|
||||||
// https://github.com/syncthing/syncthing-gtk/blob/b7a3bc00e3bb6d62365ae62b5395370f3dcc7f55/syncthing_gtk/statusicon.py
|
// https://github.com/syncthing/syncthing-gtk/blob/b7a3bc00e3bb6d62365ae62b5395370f3dcc7f55/syncthing_gtk/statusicon.py
|
||||||
|
|
||||||
// NOTE: AppIndicator uses this info to figure out WHAT VERSION OF appindicator to use: GTK2 -> appindiactor1, GTK3 -> appindicator3
|
// NOTE: AppIndicator uses this info to figure out WHAT VERSION OF appindicator to use: GTK2 -> appindicator1, GTK3 -> appindicator3
|
||||||
public static volatile boolean isGtk2 = false;
|
public static volatile boolean isGtk2 = false;
|
||||||
|
|
||||||
|
|
||||||
|
@ -73,7 +73,6 @@ class Gtk {
|
||||||
isLoaded = true;
|
isLoaded = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (!isLoaded && shouldUseGtk2) {
|
if (!isLoaded && shouldUseGtk2) {
|
||||||
try {
|
try {
|
||||||
JnaHelper.register(gtk2LibName, Gtk.class);
|
JnaHelper.register(gtk2LibName, Gtk.class);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user