From: yu.dongliang <18588496441@163.com> Date: Sat, 15 Apr 2023 07:28:54 +0000 (+0800) Subject: main X-Git-Url: http://baseworks.info/?a=commitdiff_plain;h=2c2cb7de241d91b085384c7d4da0b7a003a0de28;p=simplay.git main --- diff --git a/main.c b/main.c index 41eeecf..3671a23 100644 --- a/main.c +++ b/main.c @@ -148,9 +148,9 @@ int main(int argc, char *argv[]) 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);