]> www.fi.muni.cz Git - evince.git/commit
Make sure we always return a valid error struct when get_document_from_uri
authorCarlos Garcia Campos <carlosgc@gnome.org>
Sun, 20 Jul 2008 11:27:20 +0000 (11:27 +0000)
committerCarlos Garcia Campos <carlosgc@src.gnome.org>
Sun, 20 Jul 2008 11:27:20 +0000 (11:27 +0000)
commit85dfaace7e166d26bd304ea714df6fae9a21bdd6
tree0792a73e506fce59c2f87e397a3aefb3717d9be0
parent6afaaafedac6e693932f1b11df0e79516d107afd
Make sure we always return a valid error struct when get_document_from_uri

2008-07-20  Carlos Garcia Campos  <carlosgc@gnome.org>

* libdocument/ev-document-factory.c: (get_mime_type_from_data),
(get_document_from_uri):

Make sure we always return a valid error struct when
get_document_from_uri fails. Fixes nautilus crash, see bug
#542548.

svn path=/trunk/; revision=3076
ChangeLog
libdocument/ev-document-factory.c