add: gtk_message_queue_unref (totem->queue);  gtk_main_quit ();
context: totem_action_exit (Totem *totem){	gtk_main_quit ();	gtk_widget_destroy (totem->gtx);	gtk_widget_destroy (GTK_WIDGET (totem->playlist));	exit (0);}