Remove not neede gtk_init() in tray.c
gtk_init_check() already has that functionality.
This commit is contained in:
@@ -161,7 +161,6 @@ tray_init(void)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
gtk_init(0, NULL);
|
|
||||||
if (prefs_get_boolean(PREF_TRAY)) {
|
if (prefs_get_boolean(PREF_TRAY)) {
|
||||||
log_debug("Building GTK icon");
|
log_debug("Building GTK icon");
|
||||||
tray_enable();
|
tray_enable();
|
||||||
|
|||||||
Reference in New Issue
Block a user