forked from AuroraMiddleware/gtk
Bloatpad: Don't leak a menu model
This commit is contained in:
parent
7ad83b6827
commit
396876969a
@ -188,6 +188,7 @@ create_window_menu (void)
|
||||
|
||||
menu = g_menu_new ();
|
||||
g_menu_append_submenu (menu, "_Edit", (GMenuModel*)edit_menu);
|
||||
g_object_unref (edit_menu);
|
||||
|
||||
return G_MENU_MODEL (menu);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user