diff options
author | Ted Gould <ted@gould.cx> | 2012-04-23 12:48:49 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2012-04-23 12:48:49 -0500 |
commit | fca9a5705ac81654b8fe848fb166af94618382b0 (patch) | |
tree | 069d27060ff028d271b3d650be8b584cf80a8c78 | |
parent | a29d68c1c8cd2a3e755bcbb819748922f4e965cc (diff) | |
download | libdbusmenu-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.c | 2 |
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; |