diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2012-04-23 14:04:47 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2012-04-23 14:04:47 -0500 |
commit | 934614f783a0bc437888320e9d0d4eaf631f65b6 (patch) | |
tree | 32112aca3dba4afda5055c709f42b4e3097925aa /libdbusmenu-gtk | |
parent | 0841ca9eeff11ca2c1b8ffb51392ce6192e5dea2 (diff) | |
parent | fca9a5705ac81654b8fe848fb166af94618382b0 (diff) | |
download | libdbusmenu-934614f783a0bc437888320e9d0d4eaf631f65b6.tar.gz libdbusmenu-934614f783a0bc437888320e9d0d4eaf631f65b6.tar.bz2 libdbusmenu-934614f783a0bc437888320e9d0d4eaf631f65b6.zip |
merge lp:~ted/dbusmenu/double-underscore to make libdbusmenu-gtk/genericmenuitem.c's sanitize_label() function static.
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 348a972..75bdbbd 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 * +static gchar * sanitize_label (const gchar * in_label) { static GRegex * underscore_regex = NULL; |