[evince/wip/gpoo/gtk4-rebase-port: 30/72] main: remove gtk option group since it is removed in GTK4




commit 58bb728f24506c5881e68ef46f856f0aa79b3448
Author: Qiu Wenbo <qiuwenbo kylinos com cn>
Date:   Fri Aug 13 10:51:26 2021 +0800

    main: remove gtk option group since it is removed in GTK4
    
    Signed-off-by: Qiu Wenbo <qiuwenbo kylinos com cn>

 shell/main.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/shell/main.c b/shell/main.c
index f0ec09c3d..83c7dcc83 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -272,8 +272,6 @@ main (int argc, char *argv[])
        g_option_context_set_translation_domain(context, GETTEXT_PACKAGE);
        g_option_context_add_main_entries (context, goption_options, GETTEXT_PACKAGE);
 
-       g_option_context_add_group (context, gtk_get_option_group (TRUE));
-
        if (!g_option_context_parse (context, &argc, &argv, &error)) {
                g_printerr ("Cannot parse arguments: %s\n", error->message);
                g_error_free (error);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]