mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
add g_application filter
This commit is contained in:
parent
a9ae983549
commit
cd011cbe60
1 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue