[epiphany/wip/exalm/gtk4-cleanups-2: 6/24] main: Don't handle gtk command line options




commit 4ce24de57c29e727d801c29b048513ab588f995d
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Tue Nov 30 02:54:08 2021 +0500

    main: Don't handle gtk command line options
    
    They are gone in GTK4.
    
    Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1035>

 src/ephy-main.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/src/ephy-main.c b/src/ephy-main.c
index 2dc29f6da..48b6c684b 100644
--- a/src/ephy-main.c
+++ b/src/ephy-main.c
@@ -260,8 +260,6 @@ main (int   argc,
 
   g_option_context_set_main_group (option_context, option_group);
 
-  g_option_context_add_group (option_context, gtk_get_option_group (TRUE));
-
   if (!g_option_context_parse (option_context, &argc, &argv, &error)) {
     g_print ("Failed to parse arguments: %s\n", error->message);
     g_error_free (error);


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