summaryrefslogtreecommitdiff
path: root/pidgin/pidginapplication.c
diff options
context:
space:
mode:
authorElliott Sales de Andrade <quantum.analyst@gmail.com>2022-03-17 23:27:18 -0500
committerElliott Sales de Andrade <quantum.analyst@gmail.com>2022-03-17 23:27:18 -0500
commit5c2ae5d1624f50a4a957a897a3e9388b8f10126e (patch)
treed4b601da962d54f64aacd1f83cc94084d39110d9 /pidgin/pidginapplication.c
parent41f8f39e94dc77179bd56e2310d3986c9295807f (diff)
downloadpidgin-5c2ae5d1624f50a4a957a897a3e9388b8f10126e.tar.gz
Fix a type warning in new dynamic menu
Testing Done: Compiled with one less warning. Reviewed at https://reviews.imfreedom.org/r/1355/
Diffstat (limited to 'pidgin/pidginapplication.c')
-rw-r--r--pidgin/pidginapplication.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pidgin/pidginapplication.c b/pidgin/pidginapplication.c
index b0e602952f..81227c6ca0 100644
--- a/pidgin/pidginapplication.c
+++ b/pidgin/pidginapplication.c
@@ -129,13 +129,13 @@ pidgin_application_init_plugins(void) {
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));
}
/******************************************************************************