const gchar *account_id,
const gchar *mailbox);
+static const GdkPixbuf *modest_account_protocol_get_service_icon_default (ModestAccountProtocol *self,
+ const gchar *account_id,
+ const gchar *mailbox,
+ guint icon_size);
+
/* globals */
static GObjectClass *parent_class = NULL;
modest_account_protocol_get_icon_default;
account_class->get_service_name =
modest_account_protocol_get_service_name_default;
+ account_class->get_service_icon =
+ modest_account_protocol_get_service_icon_default;
}
static void
return NULL;
}
+const GdkPixbuf *
+modest_account_protocol_get_service_icon (ModestAccountProtocol *self,
+ const gchar *account_id,
+ const gchar *mailbox,
+ guint icon_size)
+{
+ return MODEST_ACCOUNT_PROTOCOL_GET_CLASS (self)->get_service_icon (self, account_id, mailbox, icon_size);
+}
+
+static const GdkPixbuf *
+modest_account_protocol_get_service_icon_default (ModestAccountProtocol *self,
+ const gchar *account_id,
+ const gchar *mailbox,
+ guint icon_size)
+{
+ g_return_val_if_fail (MODEST_ACCOUNT_PROTOCOL (self), NULL);
+
+ return NULL;
+}
+