]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-sidebar-attachments.c
Replace GTK_WIDGET_HAS_FOCUS() with gtk_widget_has_focus()
[evince.git] / shell / ev-sidebar-attachments.c
index 60c7ae0aca7de6977c7da98431412a00dac658c9..18917f7b8eabc703e29f73d9a93c0d30e6429202 100644 (file)
@@ -273,7 +273,7 @@ ev_sidebar_attachments_button_press (EvSidebarAttachments *ev_attachbar,
                                     GdkEventButton       *event,
                                     GtkWidget            *icon_view)
 {
-       if (!GTK_WIDGET_HAS_FOCUS (icon_view)) {
+       if (!gtk_widget_has_focus (icon_view)) {
                gtk_widget_grab_focus (icon_view);
        }