empathy r2613 - trunk/libempathy
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r2613 - trunk/libempathy
- Date: Fri, 6 Mar 2009 11:53:14 +0000 (UTC)
Author: xclaesse
Date: Fri Mar 6 11:53:13 2009
New Revision: 2613
URL: http://svn.gnome.org/viewvc/empathy?rev=2613&view=rev
Log:
Use g_list_next (l) instead of l->next.
Signed-off-by: Jonny Lamb <jonny lamb collabora co uk>
Modified:
trunk/libempathy/empathy-log-manager.c
trunk/libempathy/empathy-log-store-empathy.c
Modified: trunk/libempathy/empathy-log-manager.c
==============================================================================
--- trunk/libempathy/empathy-log-manager.c (original)
+++ trunk/libempathy/empathy-log-manager.c Fri Mar 6 11:53:13 2009
@@ -57,7 +57,7 @@
priv = GET_PRIV (object);
- for (l = priv->stores; l; l = l->next)
+ for (l = priv->stores; l; l = g_list_next (l))
{
EmpathyLogStore *store = (EmpathyLogStore *) l->data;
g_object_unref (store);
@@ -143,7 +143,7 @@
priv = GET_PRIV (manager);
- for (l = priv->stores; l; l = l->next)
+ for (l = priv->stores; l; l = g_list_next (l))
{
if (!tp_strdiff (empathy_log_store_get_name (
EMPATHY_LOG_STORE (l->data)), add_store))
@@ -176,7 +176,7 @@
priv = GET_PRIV (manager);
- for (l = priv->stores; l; l = l->next)
+ for (l = priv->stores; l; l = g_list_next (l))
{
if (empathy_log_store_exists (EMPATHY_LOG_STORE (l->data),
account, chat_id, chatroom))
@@ -212,7 +212,7 @@
priv = GET_PRIV (manager);
- for (l = priv->stores; l; l = l->next)
+ for (l = priv->stores; l; l = g_list_next (l))
{
EmpathyLogStore *store = EMPATHY_LOG_STORE (l->data);
@@ -251,7 +251,7 @@
priv = GET_PRIV (manager);
- for (l = priv->stores; l; l = l->next)
+ for (l = priv->stores; l; l = g_list_next (l))
{
EmpathyLogStore *store = EMPATHY_LOG_STORE (l->data);
@@ -297,7 +297,7 @@
priv = GET_PRIV (manager);
/* Get num_messages from each log store */
- for (l = priv->stores; l; l = l->next)
+ for (l = priv->stores; l; l = g_list_next (l))
{
EmpathyLogStore *store = EMPATHY_LOG_STORE (l->data);
@@ -335,7 +335,7 @@
priv = GET_PRIV (manager);
- for (l = priv->stores; l; l = l->next)
+ for (l = priv->stores; l; l = g_list_next (l))
{
EmpathyLogStore *store = EMPATHY_LOG_STORE (l->data);
@@ -358,7 +358,7 @@
priv = GET_PRIV (manager);
- for (l = priv->stores; l; l = l->next)
+ for (l = priv->stores; l; l = g_list_next (l))
{
EmpathyLogStore *store = EMPATHY_LOG_STORE (l->data);
@@ -387,7 +387,7 @@
{
GList *l;
- for (l = hits; l; l = l->next)
+ for (l = hits; l; l = g_list_next (l))
{
empathy_log_manager_search_hit_free (l->data);
}
Modified: trunk/libempathy/empathy-log-store-empathy.c
==============================================================================
--- trunk/libempathy/empathy-log-store-empathy.c (original)
+++ trunk/libempathy/empathy-log-store-empathy.c Fri Mar 6 11:53:13 2009
@@ -575,7 +575,7 @@
files = log_store_empathy_get_all_files (self, NULL);
DEBUG ("Found %d log files in total", g_list_length (files));
- for (l = files; l; l = l->next)
+ for (l = files; l; l = g_list_next (l))
{
gchar *filename;
GMappedFile *file;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]