mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-16 12:28:48 +02:00
Merge branch 'gapplication-examples' into 'main'
doc: remove unnecessary and confusing code from examples Closes #3615 See merge request GNOME/glib!4528
This commit is contained in:
commit
4303aadb59
@ -33,7 +33,6 @@ main (int argc, char **argv)
|
||||
app = g_application_new ("org.gtk.TestApplication",
|
||||
G_APPLICATION_HANDLES_COMMAND_LINE);
|
||||
g_signal_connect (app, "command-line", G_CALLBACK (command_line), NULL);
|
||||
g_application_set_inactivity_timeout (app, 10000);
|
||||
g_application_set_version (app, "2.3");
|
||||
|
||||
status = g_application_run (app, argc, argv);
|
||||
|
@ -95,7 +95,6 @@ main (int argc, char **argv)
|
||||
int status;
|
||||
|
||||
app = test_application_new ("org.gtk.TestApplication", 0);
|
||||
g_application_set_inactivity_timeout (app, 10000);
|
||||
g_signal_connect (app, "command-line", G_CALLBACK (command_line), NULL);
|
||||
|
||||
status = g_application_run (app, argc, argv);
|
||||
|
@ -96,7 +96,6 @@ main (int argc, char **argv)
|
||||
app = g_application_new ("org.gtk.TestApplication",
|
||||
G_APPLICATION_HANDLES_COMMAND_LINE);
|
||||
g_signal_connect (app, "command-line", G_CALLBACK (command_line), NULL);
|
||||
g_application_set_inactivity_timeout (app, 10000);
|
||||
|
||||
status = g_application_run (app, argc, argv);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user