aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-11-11 23:27:14 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-11-11 23:27:14 +0800
commit10f21bd908078536dfaed58136439f9c9f4fa7ef (patch)
tree14a74dca0bbb0ed021fc9dbe2b086c6ddc1b53e6
parent0ee1f1197dd65d8826a6da7a8ba67c106bbdbfa2 (diff)
downloadgsoc2013-empathy-10f21bd908078536dfaed58136439f9c9f4fa7ef.tar
gsoc2013-empathy-10f21bd908078536dfaed58136439f9c9f4fa7ef.tar.gz
gsoc2013-empathy-10f21bd908078536dfaed58136439f9c9f4fa7ef.tar.bz2
gsoc2013-empathy-10f21bd908078536dfaed58136439f9c9f4fa7ef.tar.lz
gsoc2013-empathy-10f21bd908078536dfaed58136439f9c9f4fa7ef.tar.xz
gsoc2013-empathy-10f21bd908078536dfaed58136439f9c9f4fa7ef.tar.zst
gsoc2013-empathy-10f21bd908078536dfaed58136439f9c9f4fa7ef.zip
Use l and strv for list and strv iterators, not i and j
svn path=/trunk/; revision=1695
-rw-r--r--libempathy-gtk/empathy-avatar-chooser.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libempathy-gtk/empathy-avatar-chooser.c b/libempathy-gtk/empathy-avatar-chooser.c
index 0675f426a..5afda77c6 100644
--- a/libempathy-gtk/empathy-avatar-chooser.c
+++ b/libempathy-gtk/empathy-avatar-chooser.c
@@ -310,8 +310,8 @@ can_satisfy_mime_type_requirements (gchar **accepted_mime_types,
gchar **satisfactory_mime_type)
{
GSList *formats;
- GSList *i;
- gchar **j;
+ GSList *l;
+ gchar **strv;
gboolean done = FALSE;
if (accepted_mime_types == NULL || *accepted_mime_types == NULL) {
@@ -323,8 +323,8 @@ can_satisfy_mime_type_requirements (gchar **accepted_mime_types,
formats = gdk_pixbuf_get_formats ();
- for (i = formats; !done && i != NULL; i = i->next) {
- GdkPixbufFormat *format = i->data;
+ for (l = formats; !done && l != NULL; l = l->next) {
+ GdkPixbufFormat *format = l->data;
gchar **format_mime_types;
if (!gdk_pixbuf_format_is_writable (format)) {
@@ -332,10 +332,10 @@ can_satisfy_mime_type_requirements (gchar **accepted_mime_types,
}
format_mime_types = gdk_pixbuf_format_get_mime_types (format);
- for (j = accepted_mime_types; *j != NULL; j++) {
- if (str_in_strv (*j, format_mime_types)) {
+ for (strv = accepted_mime_types; *strv != NULL; strv++) {
+ if (str_in_strv (*strv, format_mime_types)) {
*satisfactory_format_name = gdk_pixbuf_format_get_name (format);
- *satisfactory_mime_type = g_strdup (*j);
+ *satisfactory_mime_type = g_strdup (*strv);
done = TRUE;
break;
}