call gtk_main_quit in cb_destroy

This commit is contained in:
Sebastian Ramacher 2011-10-16 20:59:25 +02:00
parent 942ebfde36
commit 370aa11c4b
2 changed files with 1 additions and 2 deletions

View File

@ -14,6 +14,7 @@
gboolean
cb_destroy(GtkWidget* UNUSED(widget), gpointer UNUSED(data))
{
gtk_main_quit();
return TRUE;
}

View File

@ -502,8 +502,6 @@ sc_quit(girara_session_t* session, girara_argument_t* UNUSED(argument), unsigned
cb_destroy(NULL, NULL);
gtk_main_quit();
return false;
}