gapplicationcommandline: add .done() method

Fixes #596
This commit is contained in:
Aleksandr Mezin
2023-11-27 14:15:36 +00:00
committed by Philip Withnall
parent 062f1a888e
commit c03c983d94
7 changed files with 219 additions and 12 deletions

View File

@@ -67,8 +67,9 @@ struct _GApplicationCommandLineClass
void (* printerr_literal) (GApplicationCommandLine *cmdline,
const gchar *message);
GInputStream * (* get_stdin) (GApplicationCommandLine *cmdline);
void (* done) (GApplicationCommandLine *cmdline);
gpointer padding[11];
gpointer padding[10];
};
GIO_AVAILABLE_IN_ALL
@@ -126,6 +127,9 @@ GIO_AVAILABLE_IN_2_36
GFile * g_application_command_line_create_file_for_arg (GApplicationCommandLine *cmdline,
const gchar *arg);
GIO_AVAILABLE_IN_2_80
void g_application_command_line_done (GApplicationCommandLine *cmdline);
G_END_DECLS
#endif /* __G_APPLICATION_COMMAND_LINE_H__ */