static void attachment_bar_select_path (EAttachmentView *view, GtkTreePath *path) { EAttachmentBar *bar; bar = E_ATTACHMENT_BAR (view); view = E_ATTACHMENT_VIEW (bar->priv->icon_view); e_attachment_view_select_path (view, path); }
static void mail_attachment_bar_select_path (EAttachmentView *view, GtkTreePath *path) { EMailAttachmentBarPrivate *priv; priv = E_MAIL_ATTACHMENT_BAR (view)->priv; view = E_ATTACHMENT_VIEW (priv->icon_view); e_attachment_view_select_path (view, path); }
static void attachment_paned_select_path (EAttachmentView *view, GtkTreePath *path) { EAttachmentPanedPrivate *priv; priv = E_ATTACHMENT_PANED_GET_PRIVATE (view); view = E_ATTACHMENT_VIEW (priv->icon_view); e_attachment_view_select_path (view, path); }
static void attachment_button_select_path (EAttachmentButton *button) { EAttachmentView *view; EAttachment *attachment; GtkTreeRowReference *reference; GtkTreePath *path; attachment = e_attachment_button_get_attachment (button); g_return_if_fail (E_IS_ATTACHMENT (attachment)); reference = e_attachment_get_reference (attachment); g_return_if_fail (gtk_tree_row_reference_valid (reference)); view = e_attachment_button_get_view (button); path = gtk_tree_row_reference_get_path (reference); e_attachment_view_unselect_all (view); e_attachment_view_select_path (view, path); gtk_tree_path_free (path); }