memory-leaks

Still reachable: lots of words in many pages.
git clone https://git.kevinlegouguec.net/memory-leaks
Log | Files | Refs | README | LICENSE

commit 5ce1f8113558cffcc20b928c6d9a9239aa14cde7
parent b27bc692bdb7564f235388350fe1e8fa42e30c88
Author: Kévin Le Gouguec <kevin.legouguec@gmail.com>
Date:   Sun, 16 Jul 2023 11:51:29 +0200

Appease GLib

Diffstat:
Mitches/emacs/pgtk-shift-space.c | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/itches/emacs/pgtk-shift-space.c b/itches/emacs/pgtk-shift-space.c @@ -55,7 +55,13 @@ main (int argc, char **argv) GtkApplication *app; int status; - app = gtk_application_new ("org.gtk.key-scratchpad", G_APPLICATION_DEFAULT_FLAGS); + app = gtk_application_new ("org.gtk.key-scratchpad", +#if GLIB_CHECK_VERSION(2, 74, 0) + G_APPLICATION_DEFAULT_FLAGS +#else + G_APPLICATION_FLAGS_NONE +#endif + ); g_signal_connect (app, "activate", G_CALLBACK (activate), NULL); status = g_application_run (G_APPLICATION (app), argc, argv); g_object_unref (app);