Mercurial > pidgin.yaz
diff pidgin/plugins/gevolution/gevolution.c @ 18058:4ca97b26a8fb
Mark the return type const for the following functions. I noticed this
while fixing some DBus stuff which I'll commit shortly.
* purple_accounts_get_all
* purple_connections_get_all
* purple_connections_get_connecting
* purple_conv_chat_get_ignored
* purple_conv_chat_get_users
* purple_get_chats
* purple_get_conversations
* purple_get_ims
* purple_notify_user_info_get_entries
References #1344
| author | Richard Laager <rlaager@wiktel.com> |
|---|---|
| date | Thu, 07 Jun 2007 04:22:42 +0000 |
| parents | 89bbced1589f |
| children | 226b9109179c 926ccb104da0 |
line wrap: on
line diff
--- a/pidgin/plugins/gevolution/gevolution.c Thu Jun 07 03:13:02 2007 +0000 +++ b/pidgin/plugins/gevolution/gevolution.c Thu Jun 07 04:22:42 2007 +0000 @@ -70,7 +70,8 @@ const char *prpl_id, EContactField field) { GList *ims = e_contact_get(contact, field); - GList *l, *l2; + const GList *l; + const GList *l2; if (ims == NULL) return; @@ -401,7 +402,7 @@ GtkCellRenderer *renderer; GdkPixbuf *pixbuf; GtkListStore *model; - GList *l; + const GList *l; /* Outside container */ ret = gtk_vbox_new(FALSE, 18);
