/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* Copyright (C) 2002-2007 Imendio AB
+ * Copyright (C) 2007 Collabora Ltd.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* Authors: Mikael Hallendal <micke@imendio.com>
* Richard Hult <richard@imendio.com>
* Martyn Russell <martyn@imendio.com>
+ * Xavier Claessens <xclaesse@gmail.com>
*
* Part of this file is copied from GtkSourceView (gtksourceiter.c):
* Paolo Maggi
gchar *first_widget,
...);
/* Pixbufs */
-GdkPixbuf * gossip_pixbuf_from_smiley (GossipSmiley type,
- GtkIconSize icon_size);
-GdkPixbuf * gossip_pixbuf_from_profile (McProfile *account,
+GdkPixbuf * gossip_pixbuf_from_icon_name (const gchar *icon_name,
GtkIconSize icon_size);
-GdkPixbuf * gossip_pixbuf_from_account (McAccount *account,
+GdkPixbuf * gossip_pixbuf_from_smiley (GossipSmiley type,
GtkIconSize icon_size);
-GdkPixbuf * gossip_pixbuf_for_presence_state (GossipPresenceState state);
-GdkPixbuf * gossip_pixbuf_for_presence (GossipPresence *presence);
-GdkPixbuf * gossip_pixbuf_for_contact (GossipContact *contact);
-GdkPixbuf * gossip_pixbuf_offline (void);
+const gchar * gossip_icon_name_from_account (McAccount *account);
+const gchar * gossip_icon_name_for_presence_state (McPresence state);
+const gchar * gossip_icon_name_for_presence (GossipPresence *presence);
+const gchar * gossip_icon_name_for_contact (GossipContact *contact);
GdkPixbuf * gossip_pixbuf_from_avatar_scaled (GossipAvatar *avatar,
gint width,
gint height);