Thu, 17 Mar 2022 23:27:18 -0500
Fix a type warning in new dynamic menu
Testing Done:
Compiled with one less warning.
Reviewed at https://reviews.imfreedom.org/r/1355/
| pidgin/pidginapplication.c | file | annotate | diff | comparison | revisions |
--- a/pidgin/pidginapplication.c Thu Mar 17 23:25:33 2022 -0500 +++ b/pidgin/pidginapplication.c Thu Mar 17 23:27:18 2022 -0500 @@ -129,13 +129,13 @@ static void pidgin_application_populate_dynamic_menus(PidginApplication *application) { GMenu *target = NULL; - GMenuModel *source = NULL; + GMenu *source = NULL; /* Link the AccountsDisabledMenu into its proper location. */ target = gtk_application_get_menu_by_id(GTK_APPLICATION(application), "disabled-accounts"); source = pidgin_accounts_disabled_menu_new(); - g_menu_append_section(target, NULL, source); + g_menu_append_section(target, NULL, G_MENU_MODEL(source)); } /******************************************************************************