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




commit f19be1eb8f7e7b1d5b1463500d0fef2b80f90740
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]