static void attachment_button_style_updated (GtkWidget *widget) { EAttachmentButton *button; /* Chain up to parent's method. */ GTK_WIDGET_CLASS (e_attachment_button_parent_class)->style_updated (widget); button = E_ATTACHMENT_BUTTON (widget); attachment_button_update_pixbufs (button); }
static void attachment_button_style_set (GtkWidget *widget, GtkStyle *previous_style) { EAttachmentButton *button; /* Chain up to parent's style_set() method. */ GTK_WIDGET_CLASS (e_attachment_button_parent_class)-> style_set (widget, previous_style); button = E_ATTACHMENT_BUTTON (widget); attachment_button_update_pixbufs (button); }