Thu, 05 Oct 2017 21:49:49 -0500
Add the gplugin GOptionGroup to the GOptionContext of both Pidgin and Finch
| finch/libfinch.c | file | annotate | diff | comparison | revisions | |
| pidgin/libpidgin.c | file | annotate | diff | comparison | revisions |
--- 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);