X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-account-protocol.c;h=70d8d24d6c3a1ae87b05c396d28499b2a570e76f;hp=203edfc21dff31f513a8ab2c6f06451564c35585;hb=e468d62e86da9f16820ac0cc8d7d1f106bf080bf;hpb=e308b6620e279bc8938bda9118a844a48a39f4a4 diff --git a/src/modest-account-protocol.c b/src/modest-account-protocol.c index 203edfc..70d8d24 100644 --- a/src/modest-account-protocol.c +++ b/src/modest-account-protocol.c @@ -98,6 +98,10 @@ static gchar *modest_account_protocol_get_signature_default (ModestAccountProtoc const gchar *account_id, const gchar *mailbox, gboolean *has_signature); +static const GdkPixbuf *modest_account_protocol_get_icon_default (ModestAccountProtocol *self, + ModestAccountProtocolIconType icon_type, + GObject *object, + guint icon_size); /* globals */ @@ -192,6 +196,8 @@ modest_account_protocol_class_init (ModestAccountProtocolClass *klass) modest_account_protocol_get_from_list_default; account_class->get_signature = modest_account_protocol_get_signature_default; + account_class->get_icon = + modest_account_protocol_get_icon_default; } static void @@ -683,3 +689,20 @@ modest_account_protocol_get_signature_default (ModestAccountProtocol *self, return NULL; } +const GdkPixbuf* +modest_account_protocol_get_icon (ModestAccountProtocol *self, + ModestAccountProtocolIconType icon_type, + GObject *object, + guint icon_size) +{ + return MODEST_ACCOUNT_PROTOCOL_GET_CLASS (self)->get_icon (self, icon_type, object, icon_size); +} + +static const GdkPixbuf * +modest_account_protocol_get_icon_default (ModestAccountProtocol *self, ModestAccountProtocolIconType icon_type, + GObject *object, guint icon_size) +{ + g_return_val_if_fail (MODEST_ACCOUNT_PROTOCOL (self), NULL); + + return NULL; +}