From d19fd76a0cb6c073027bc2be484bf9dc85616454 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Sat, 20 Jul 2024 22:20:31 -0400 Subject: [PATCH] GTK4: handle signal bar press enter --- rosenrot4_greenfield.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rosenrot4_greenfield.c b/rosenrot4_greenfield.c index 33635fe..4b10b83 100644 --- a/rosenrot4_greenfield.c +++ b/rosenrot4_greenfield.c @@ -254,7 +254,7 @@ int main(int argc, char** argv) bar.line = GTK_ENTRY(gtk_entry_new_with_buffer(bar.line_text)); gtk_entry_set_alignment(bar.line, 0.48); gtk_widget_set_size_request(GTK_WIDGET(bar.line), BAR_SIZE, -1); - // g_signal_connect(bar.line, "activate", G_CALLBACK(handle_signal_bar_press_enter), notebook); + g_signal_connect(bar.line, "activate", G_CALLBACK(handle_signal_bar_press_enter), notebook); bar.widget = GTK_HEADER_BAR(gtk_header_bar_new()); gtk_header_bar_set_title_widget(bar.widget, GTK_WIDGET(bar.line));