Move the gplugin option group next to the gtk option group

Thu, 05 Oct 2017 21:51:59 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Thu, 05 Oct 2017 21:51:59 -0500
changeset 38801
da7cb2e388ee
parent 38800
8a2ea9672bcb
child 38802
afb1c8302e49

Move the gplugin option group next to the gtk option group

pidgin/libpidgin.c file | annotate | diff | comparison | revisions
--- a/pidgin/libpidgin.c	Thu Oct 05 21:49:49 2017 -0500
+++ b/pidgin/libpidgin.c	Thu Oct 05 21:51:59 2017 -0500
@@ -588,7 +588,6 @@
 #endif /* !_WIN32 */
 
 	context = g_option_context_new(NULL);
-	g_option_context_add_group(context, gplugin_get_option_group());
 
 	summary = g_strdup_printf("%s %s", PIDGIN_NAME, DISPLAY_VERSION);
 	g_option_context_set_summary(context, summary);
@@ -596,6 +595,7 @@
 
 	g_option_context_add_main_entries(context, option_entries, PACKAGE);
 	g_option_context_add_group(context, gtk_get_option_group(TRUE));
+	g_option_context_add_group(context, gplugin_get_option_group());
 
 #ifdef G_OS_WIN32
 	/* Handle Unicode filenames on Windows. See GOptionContext docs. */

mercurial