aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-gtk
diff options
context:
space:
mode:
Diffstat (limited to 'libdbusmenu-gtk')
-rw-r--r--libdbusmenu-gtk/genericmenuitem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdbusmenu-gtk/genericmenuitem.c b/libdbusmenu-gtk/genericmenuitem.c
index 33d888d..a06485d 100644
--- a/libdbusmenu-gtk/genericmenuitem.c
+++ b/libdbusmenu-gtk/genericmenuitem.c
@@ -242,7 +242,7 @@ has_mnemonic (const gchar * string, gboolean previous_underscore)
}
/* Sanitize the label by removing "__" meaning "_" */
-G_INLINE_FUNC gchar *
+static gchar *
sanitize_label (const gchar * in_label)
{
static GRegex * underscore_regex = NULL;