X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=properties%2Fev-properties-main.c;h=10d1ec8d47325bd45b1e4bb060a1687470950364;hb=4f6105d3df2cbf07bccd7de156693aab7e71bc31;hp=32677fc1839c0c5e1b3e3acd89d6a44ffa1c9cc8;hpb=47fb87e520d1abe31a1965d500602e0e80e899b2;p=evince.git diff --git a/properties/ev-properties-main.c b/properties/ev-properties-main.c index 32677fc1..10d1ec8d 100644 --- a/properties/ev-properties-main.c +++ b/properties/ev-properties-main.c @@ -103,6 +103,9 @@ ev_properties_get_pages (NautilusPropertyPageProvider *provider, g_error_free (error); goto end; } + + if (!document) + goto end; label = gtk_label_new (_("Document")); page = ev_properties_view_new ();