mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-24 12:26:22 +00:00
Re-introduce gtk_use boolean
This param is still actual, in case the environemnt does not support gtk initialization. Fix a GTK assert on the way (GTKStatusIcon is not a Widget, but a plain GObject).
This commit is contained in:
@@ -151,7 +151,7 @@ void destroy_tray(void)
|
||||
shutting_down = true;
|
||||
g_source_remove(timer);
|
||||
if (prof_tray) {
|
||||
gtk_widget_destroy(GTK_WIDGET(prof_tray));
|
||||
g_clear_object(&prof_tray);
|
||||
prof_tray = NULL;
|
||||
}
|
||||
g_string_free(icon_filename, true);
|
||||
|
||||
Reference in New Issue
Block a user