diff options
author | Ted Gould <ted@gould.cx> | 2012-04-12 11:28:57 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2012-04-12 11:28:57 -0500 |
commit | a29d68c1c8cd2a3e755bcbb819748922f4e965cc (patch) | |
tree | cbd63d9bcc6edc6f48a962b309280ad5fa093573 /libdbusmenu-gtk | |
parent | 9dd4e51920a5adccafbc2091d6e29391ab0c3bb5 (diff) | |
download | libdbusmenu-a29d68c1c8cd2a3e755bcbb819748922f4e965cc.tar.gz libdbusmenu-a29d68c1c8cd2a3e755bcbb819748922f4e965cc.tar.bz2 libdbusmenu-a29d68c1c8cd2a3e755bcbb819748922f4e965cc.zip |
Make sanitize_label static for sure and inline if available
Diffstat (limited to 'libdbusmenu-gtk')
-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 81d67fe..33d888d 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 "_" */ -gchar * +G_INLINE_FUNC gchar * sanitize_label (const gchar * in_label) { static GRegex * underscore_regex = NULL; |