static void mail_attachment_bar_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec) { switch (property_id) { case PROP_ACTIVE_VIEW: e_mail_attachment_bar_set_active_view ( E_MAIL_ATTACHMENT_BAR (object), g_value_get_int (value)); return; case PROP_DRAGGING: e_attachment_view_set_dragging ( E_ATTACHMENT_VIEW (object), g_value_get_boolean (value)); return; case PROP_EDITABLE: e_attachment_view_set_editable ( E_ATTACHMENT_VIEW (object), g_value_get_boolean (value)); return; case PROP_EXPANDED: e_mail_attachment_bar_set_expanded ( E_MAIL_ATTACHMENT_BAR (object), g_value_get_boolean (value)); return; } G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); }
static void attachment_icon_view_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec) { switch (property_id) { case PROP_DRAGGING: e_attachment_view_set_dragging ( E_ATTACHMENT_VIEW (object), g_value_get_boolean (value)); return; case PROP_EDITABLE: e_attachment_view_set_editable ( E_ATTACHMENT_VIEW (object), g_value_get_boolean (value)); return; } G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); }