aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-04-23 12:48:49 -0500
committerTed Gould <ted@gould.cx>2012-04-23 12:48:49 -0500
commitfca9a5705ac81654b8fe848fb166af94618382b0 (patch)
tree069d27060ff028d271b3d650be8b584cf80a8c78
parenta29d68c1c8cd2a3e755bcbb819748922f4e965cc (diff)
downloadlibdbusmenu-fca9a5705ac81654b8fe848fb166af94618382b0.tar.gz
libdbusmenu-fca9a5705ac81654b8fe848fb166af94618382b0.tar.bz2
libdbusmenu-fca9a5705ac81654b8fe848fb166af94618382b0.zip
Static is probably better to ensure we don't get out of the binary
-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;