g_signal_connect(menu_file_quit, "activate", G_CALLBACK(gtk_main_quit), NULL);
g_signal_connect(menu_file_add, "activate", G_CALLBACK(simp_file_add), builder);
- g_signal_connect(button_record, "activate", G_CALLBACK(simp_record), builder);
- g_signal_connect(button_pause, "activate", G_CALLBACK(simp_pause), builder);
- g_signal_connect(button_stop, "activate", G_CALLBACK(simp_stop), builder);
+ g_signal_connect(button_record, "clicked", G_CALLBACK(simp_record), builder);
+ g_signal_connect(button_pause, "clicked", G_CALLBACK(simp_pause), builder);
+ g_signal_connect(button_stop, "clicked", G_CALLBACK(simp_stop), builder);
g_signal_connect(gl_area, "resize", G_CALLBACK(resize), NULL);
g_signal_connect(gl_area, "unrealize", G_CALLBACK(unrealize), NULL);