Lines 399-404
void vte_close(void)
Link Here
|
399 |
g_free(vf); |
399 |
g_free(vf); |
400 |
/* free the vte widget before unloading vte module |
400 |
/* free the vte widget before unloading vte module |
401 |
* this prevents a segfault on X close window if the message window is hidden */ |
401 |
* this prevents a segfault on X close window if the message window is hidden */ |
|
|
402 |
g_signal_handlers_disconnect_by_func(vc->vte, G_CALLBACK(vte_start), NULL); |
402 |
gtk_widget_destroy(vc->vte); |
403 |
gtk_widget_destroy(vc->vte); |
403 |
gtk_widget_destroy(vc->menu); |
404 |
gtk_widget_destroy(vc->menu); |
404 |
g_object_unref(vc->menu); |
405 |
g_object_unref(vc->menu); |