summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2024-01-15 18:16:03 +0100
committerAndras Timar <andras.timar@collabora.com>2024-01-16 11:01:08 +0100
commit1be2495ab0b2ff531988294c692d639b9af40d34 (patch)
treea852e26c88828bedcabe0db239ced91655905f47 /vcl
parentf5bbf242e30d1f1f52275e40fc2b9c2ea1bb28a2 (diff)
Fix location of an g_object_unref in vcl/glomenu
Change-Id: Icef8e74867758c815e1a55ae0906dead9b70ae6d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162131 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/gtk3/glomenu.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk3/glomenu.cxx b/vcl/unx/gtk3/glomenu.cxx
index a391649bbb6d..779d20f9b879 100644
--- a/vcl/unx/gtk3/glomenu.cxx
+++ b/vcl/unx/gtk3/glomenu.cxx
@@ -560,8 +560,8 @@ g_lo_menu_new_submenu_in_item_in_section (GLOMenu *menu,
g_menu_model_items_changed (G_MENU_MODEL (model), position, 1, 1);
- g_object_unref (model);
}
+ g_object_unref (model);
}
GLOMenu *