Browse Source

add g_application filter

CPP-GTK4
yggverse 3 months ago
parent
commit
cd011cbe60
  1. 4
      src/main.cpp

4
src/main.cpp

@ -19,7 +19,7 @@ int main(
G_APPLICATION_DEFAULT_FLAGS G_APPLICATION_DEFAULT_FLAGS
); );
// Connect the "activate" signal to the callback function // Connect events
g_signal_connect( g_signal_connect(
G_APPLICATION( G_APPLICATION(
application application
@ -42,7 +42,9 @@ int main(
// Clean up // Clean up
g_object_unref( g_object_unref(
G_APPLICATION(
application application
)
); );
// Result // Result

Loading…
Cancel
Save