[Xfce4-commits] <garcon:master> Also decrease the internal refcount when calling garcon_menu_item_unref.
Nick Schermer
nick at xfce.org
Sun Aug 16 18:06:08 CEST 2009
Updating branch refs/heads/master
to c63c7b91f1b9cca982a9441de5397d4019fa6fb0 (commit)
from 3e471653350e674c1910bd2826a0dd1c331a8894 (commit)
commit c63c7b91f1b9cca982a9441de5397d4019fa6fb0
Author: Nick Schermer <nick at xfce.org>
Date: Sun Aug 16 13:19:30 2009 +0200
Also decrease the internal refcount when calling garcon_menu_item_unref.
garcon/garcon-menu-item.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/garcon/garcon-menu-item.c b/garcon/garcon-menu-item.c
index b5aa2e9..816daef 100644
--- a/garcon/garcon-menu-item.c
+++ b/garcon/garcon-menu-item.c
@@ -1196,6 +1196,9 @@ garcon_menu_item_unref (GarconMenuItem *item)
{
g_return_if_fail (GARCON_IS_MENU_ITEM (item));
+ /* Decrement the allocation counter */
+ garcon_menu_item_decrement_allocated (item);
+
/* Decrement the reference counter */
g_object_unref (G_OBJECT (item));
}
More information about the Xfce4-commits
mailing list