diff options
Diffstat (limited to 'mail/e-mail-attachment-bar.c')
-rw-r--r-- | mail/e-mail-attachment-bar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/e-mail-attachment-bar.c b/mail/e-mail-attachment-bar.c index 0ffe287306..f603b719e4 100644 --- a/mail/e-mail-attachment-bar.c +++ b/mail/e-mail-attachment-bar.c @@ -546,7 +546,7 @@ mail_attachment_bar_init (EMailAttachmentBar *bar) container = widget; widget = e_attachment_icon_view_new (); - GTK_WIDGET_SET_FLAGS (widget, GTK_CAN_FOCUS); + gtk_widget_set_can_focus (widget, TRUE); gtk_icon_view_set_model (GTK_ICON_VIEW (widget), bar->priv->model); gtk_container_add (GTK_CONTAINER (container), widget); bar->priv->icon_view = g_object_ref (widget); @@ -563,7 +563,7 @@ mail_attachment_bar_init (EMailAttachmentBar *bar) container = widget; widget = e_attachment_tree_view_new (); - GTK_WIDGET_SET_FLAGS (widget, GTK_CAN_FOCUS); + gtk_widget_set_can_focus (widget, TRUE); gtk_tree_view_set_model (GTK_TREE_VIEW (widget), bar->priv->model); gtk_container_add (GTK_CONTAINER (container), widget); bar->priv->tree_view = g_object_ref (widget); |