From cd011cbe6098f3aa8e9d7e64ff9ac8284dcf5f4f Mon Sep 17 00:00:00 2001 From: yggverse Date: Tue, 6 Aug 2024 03:37:08 +0300 Subject: [PATCH] add g_application filter --- src/main.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 1a94054a..d84cba3a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -19,7 +19,7 @@ int main( G_APPLICATION_DEFAULT_FLAGS ); - // Connect the "activate" signal to the callback function + // Connect events g_signal_connect( G_APPLICATION( application @@ -42,7 +42,9 @@ int main( // Clean up g_object_unref( - application + G_APPLICATION( + application + ) ); // Result