aboutsummaryrefslogtreecommitdiff
path: root/src/idousermenuitem.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/idousermenuitem.c')
-rw-r--r--src/idousermenuitem.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/idousermenuitem.c b/src/idousermenuitem.c
index 96bbeb4..4279723 100644
--- a/src/idousermenuitem.c
+++ b/src/idousermenuitem.c
@@ -1,10 +1,12 @@
/*
Copyright 2011 Canonical Ltd.
+Copyright 2023 Robert Tari
Authors:
Conor Curran <conor.curran@canonical.com>
Mirco Müller <mirco.mueller@canonical.com>
Charles Kerr <charles.kerr@canonical.com>
+ Robert Tari <robert@tari.in>
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License version 3, as published
@@ -397,7 +399,7 @@ ido_user_menu_item_new (void)
/*
* This is a helper function for creating user menuitems for both
- * "indicator.user-menu-item" and "indicator.guest-menu-item",
+ * "org.ayatana.indicator.user-menu-item" and "org.ayatana.indicator.guest-menu-item",
* since they only differ in how they use their action's state.
*/
static GtkMenuItem *
@@ -445,6 +447,8 @@ user_menu_item_new_from_model (GMenuItem * menuitem,
for (i=0; i<n; i++)
g_value_unset (&values[i]);
+ g_free (values);
+
/* gie it an ActionHelper */
if (g_menu_item_get_attribute (menuitem, G_MENU_ATTRIBUTE_ACTION, "s", &action))
@@ -472,7 +476,7 @@ user_menu_item_new_from_model (GMenuItem * menuitem,
}
/***
-**** indicator.user-menu-item handler
+**** org.ayatana.indicator.user-menu-item handler
***/
/**
@@ -546,7 +550,7 @@ ido_user_menu_item_new_from_model (GMenuItem *menuitem,
}
/***
-**** indicator.guest-menu-item handler
+**** org.ayatana.indicator.guest-menu-item handler
***/
static void