0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-27 06:18:57 +00:00
termux-packages/x11-packages/gtk4/demos-print-editor-print-editor.c.patch
Biswapriyo Nath ee4ecf2e69 enhance(x11/gtk4): Enable demo program
This will help to test new gtk4 versions.
2024-09-24 01:05:47 +05:30

21 lines
622 B
Diff

--- a/demos/print-editor/print-editor.c
+++ b/demos/print-editor/print-editor.c
@@ -854,7 +854,7 @@
}
static void
-open (GApplication *application,
+open_file (GApplication *application,
GFile **files,
int n_files,
const char *hint)
@@ -898,7 +898,7 @@
g_signal_connect (app, "startup", G_CALLBACK (startup), NULL);
g_signal_connect (app, "activate", G_CALLBACK (activate), NULL);
- g_signal_connect (app, "open", G_CALLBACK (open), NULL);
+ g_signal_connect (app, "open", G_CALLBACK (open_file), NULL);
g_application_run (G_APPLICATION (app), argc, argv);