GTK4: formatting pass
This commit is contained in:
parent
3ac35677a5
commit
db4fe9a0cf
|
@ -137,7 +137,6 @@ static int handle_signal_keypress(GtkEventControllerKey* event_controller, int k
|
|||
return 0;
|
||||
}
|
||||
|
||||
|
||||
static gboolean
|
||||
event_key_pressed_cb(GtkWidget* drawing_area,
|
||||
guint keyval,
|
||||
|
@ -177,10 +176,9 @@ int main(int argc, char** argv)
|
|||
|
||||
g_signal_connect_object(event_controller, "key-pressed",
|
||||
G_CALLBACK(event_key_pressed_cb),
|
||||
window, G_CONNECT_SWAPPED);
|
||||
window);
|
||||
gtk_widget_add_controller(GTK_WIDGET(window), event_controller);
|
||||
|
||||
|
||||
// Show the application window
|
||||
gtk_window_present(GTK_WINDOW(window));
|
||||
gtk_window_set_child(GTK_WINDOW(window), GTK_WIDGET(notebook));
|
||||
|
|
Loading…
Reference in New Issue
Block a user