qulogic/pidgin

Parents 29a0a4cdee6f
Children da7cb2e388ee
Add the gplugin GOptionGroup to the GOptionContext of both Pidgin and Finch
--- a/finch/libfinch.c Tue Sep 26 02:41:52 2017 +0000
+++ b/finch/libfinch.c Thu Oct 05 21:49:49 2017 -0500
@@ -170,6 +170,8 @@
g_option_context_set_summary(context, DISPLAY_VERSION);
g_option_context_add_main_entries(context, option_entries, PACKAGE);
+ g_option_context_add_group(context, gplugin_get_option_group());
+
#ifdef G_OS_WIN32
/* Handle Unicode filenames on Windows. See GOptionContext docs. */
args = g_win32_get_command_line();
--- a/pidgin/libpidgin.c Tue Sep 26 02:41:52 2017 +0000
+++ b/pidgin/libpidgin.c Thu Oct 05 21:49:49 2017 -0500
@@ -588,6 +588,7 @@
#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);