diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-06-19 17:07:59 -0400 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-06-19 17:07:59 -0400 |
commit | 5d9faae92b600abd01fa54b34a754745b7cab95a (patch) | |
tree | 3bd45b980bbe131e6da901626d9d2f7813e471d5 /src | |
parent | ba02d52c723b82214e20c5cac47b1ec8bc6a69fb (diff) | |
download | ayatana-ido-5d9faae92b600abd01fa54b34a754745b7cab95a.tar.gz ayatana-ido-5d9faae92b600abd01fa54b34a754745b7cab95a.tar.bz2 ayatana-ido-5d9faae92b600abd01fa54b34a754745b7cab95a.zip |
ido_media_player_menu_item_state_changed: declare constant variables as const
Diffstat (limited to 'src')
-rw-r--r-- | src/idomediaplayermenuitem.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/idomediaplayermenuitem.c b/src/idomediaplayermenuitem.c index e78de4d..7e6e9d3 100644 --- a/src/idomediaplayermenuitem.c +++ b/src/idomediaplayermenuitem.c @@ -308,10 +308,10 @@ ido_media_player_menu_item_state_changed (IdoActionHelper *helper, { IdoMediaPlayerMenuItem *widget; gboolean running = FALSE; - gchar *title = NULL; - gchar *artist = NULL; - gchar *album = NULL; - gchar *art_url = NULL; + const gchar *title = NULL; + const gchar *artist = NULL; + const gchar *album = NULL; + const gchar *art_url = NULL; g_variant_lookup (state, "running", "b", &running); g_variant_lookup (state, "title", "&s", &title); |