# HG changeset patch # User Olaf Wintermann # Date 1770908088 -3600 # Node ID 798952a8f97c394a44adef03d81ef9395fc314d0 # Parent d64c417039bc38ede9f160fbc0f19c28dd51b447 fix app ref/unref (GTK) diff -r d64c417039bc -r 798952a8f97c ui/gtk/toolkit.c --- a/ui/gtk/toolkit.c Thu Feb 12 15:48:18 2026 +0100 +++ b/ui/gtk/toolkit.c Thu Feb 12 15:54:48 2026 +0100 @@ -138,7 +138,7 @@ void ui_app_ref(void) { #ifdef UI_APPLICATION - g_application_hold(G_APPLICATION(&app)); + g_application_hold(G_APPLICATION(app)); #else // TODO #endif @@ -146,7 +146,7 @@ void ui_app_unref(void) { #ifdef UI_APPLICATION - g_application_release(G_APPLICATION(&app)); + g_application_release(G_APPLICATION(app)); #else // TODO #endif