mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Remove not neede gtk_init() in tray.c
gtk_init_check() already has that functionality.
This commit is contained in:
parent
81253cd2ca
commit
f5afedd171
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user