Browse Source

add g_application filter

CPP-GTK4
yggverse 2 months ago
parent
commit
cd011cbe60
  1. 6
      src/main.cpp

6
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(
application G_APPLICATION(
application
)
); );
// Result // Result

Loading…
Cancel
Save