]> www.fi.muni.cz Git - evince.git/commitdiff
[shell] Add missing cast
authorCarlos Garcia Campos <carlosgc@gnome.org>
Wed, 19 Aug 2009 13:32:52 +0000 (15:32 +0200)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Tue, 15 Sep 2009 13:56:01 +0000 (15:56 +0200)
shell/ev-sidebar-attachments.c

index e0779f01548755e0f2930b60eb6526bac850727c..b63c5efc1d165c33e4a7ddc4015a6f29f3aa95d6 100644 (file)
@@ -687,7 +687,7 @@ ev_sidebar_attachments_support_document (EvSidebarPage   *sidebar_page,
                                         EvDocument      *document)
 {
        return (EV_IS_DOCUMENT_ATTACHMENTS (document) &&
-               ev_document_attachments_has_attachments (document));
+               ev_document_attachments_has_attachments (EV_DOCUMENT_ATTACHMENTS (document)));
 }
 
 static const gchar*