Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/properties
diff options
context:
space:
mode:
authorTom Parker <palfrey@tevp.net>2007-01-25 09:37:16 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@src.gnome.org>2007-01-25 09:37:16 (GMT)
commitbec5242aa2645d9a62d5971556de1348b02b535d (patch)
tree95ad801597e0adc68f2b4878b9d355314ce9bbdc /properties
parent235b9896d5ea87eab157b46b4f00120c25949c00 (diff)
Correctly handle impress document errors. Fixes nautilus crash in property
2007-01-25 Tom Parker <palfrey@tevp.net> * backend/impress/impress-document.c: (impress_document_load), (impress_document_finalize), (impress_document_init): * properties/ev-properties-main.c: (ev_properties_get_pages): Correctly handle impress document errors. Fixes nautilus crash in property page #370491. svn path=/trunk/; revision=2250
Diffstat (limited to 'properties')
-rw-r--r--properties/ev-properties-main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/properties/ev-properties-main.c b/properties/ev-properties-main.c
index 32677fc..10d1ec8 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 ();