diff options
author | Philip Withnall <philip@tecnocode.co.uk> | 2011-07-09 13:28:42 +0100 |
---|---|---|
committer | Philip Withnall <philip@tecnocode.co.uk> | 2011-07-09 13:29:30 +0100 |
commit | c47ce5f319d468e027b05c6eaae28c8f47c9f997 (patch) | |
tree | 54f2a7a95a4fe5c788fd052a4cb57b4720ac4dbe /src | |
parent | b1f66e88249bdd5d95ce45bdf4678191982b2041 (diff) | |
download | totem-c47ce5f319d468e027b05c6eaae28c8f47c9f997.tar.gz |
grilo: Fix some variable shadowing warnings from gcc
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/grilo/totem-grilo.c | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/plugins/grilo/totem-grilo.c b/src/plugins/grilo/totem-grilo.c index e7b764fa5..e04d262de 100644 --- a/src/plugins/grilo/totem-grilo.c +++ b/src/plugins/grilo/totem-grilo.c @@ -182,36 +182,36 @@ get_description (GrlMedia *media) static GList * browse_keys (void) { - static GList *browse_keys = NULL; - - if (browse_keys == NULL) { - browse_keys = grl_metadata_key_list_new (GRL_METADATA_KEY_ARTIST, - GRL_METADATA_KEY_AUTHOR, - GRL_METADATA_KEY_DURATION, - GRL_METADATA_KEY_THUMBNAIL, - GRL_METADATA_KEY_URL, - GRL_METADATA_KEY_TITLE, - NULL); + static GList *_browse_keys = NULL; + + if (_browse_keys == NULL) { + _browse_keys = grl_metadata_key_list_new (GRL_METADATA_KEY_ARTIST, + GRL_METADATA_KEY_AUTHOR, + GRL_METADATA_KEY_DURATION, + GRL_METADATA_KEY_THUMBNAIL, + GRL_METADATA_KEY_URL, + GRL_METADATA_KEY_TITLE, + NULL); } - return browse_keys; + return _browse_keys; } static GList * search_keys (void) { - static GList *search_keys = NULL; - - if (search_keys == NULL) { - search_keys = grl_metadata_key_list_new (GRL_METADATA_KEY_ARTIST, - GRL_METADATA_KEY_AUTHOR, - GRL_METADATA_KEY_THUMBNAIL, - GRL_METADATA_KEY_URL, - GRL_METADATA_KEY_TITLE, - NULL); + static GList *_search_keys = NULL; + + if (_search_keys == NULL) { + _search_keys = grl_metadata_key_list_new (GRL_METADATA_KEY_ARTIST, + GRL_METADATA_KEY_AUTHOR, + GRL_METADATA_KEY_THUMBNAIL, + GRL_METADATA_KEY_URL, + GRL_METADATA_KEY_TITLE, + NULL); } - return search_keys; + return _search_keys; } static GdkPixbuf * |