Avoid a memory leak with the about dialog
This commit is contained in:
parent
9b449d50a9
commit
58278c2642
|
@ -148,6 +148,7 @@ static void _flashlightwindow_on_about(gpointer data)
|
|||
desktop_about_dialog_set_version(dialog, VERSION);
|
||||
desktop_about_dialog_set_website(dialog, "http://www.defora.org/");
|
||||
gtk_dialog_run(GTK_DIALOG(dialog));
|
||||
gtk_widget_destroy(dialog);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user