aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/app-menu-item.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/app-menu-item.c b/src/app-menu-item.c
index 2bdb7b1..5fc2a9c 100644
--- a/src/app-menu-item.c
+++ b/src/app-menu-item.c
@@ -110,6 +110,7 @@ app_menu_item_init (AppMenuItem *self)
return;
}
+/* Disconnect the count_changed signal and unref the listener */
static void
app_menu_item_dispose (GObject *object)
{
@@ -122,6 +123,8 @@ app_menu_item_dispose (GObject *object)
G_OBJECT_CLASS (app_menu_item_parent_class)->dispose (object);
}
+/* Free the memory used by our type, desktop file and application
+ info structures. */
static void
app_menu_item_finalize (GObject *object)
{