From 2c2cb7de241d91b085384c7d4da0b7a003a0de28 Mon Sep 17 00:00:00 2001 From: "yu.dongliang" <18588496441@163.com> Date: Sat, 15 Apr 2023 15:28:54 +0800 Subject: [PATCH] main --- main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); -- 2.25.1