static void
ev_properties_plugin_register_type (GTypeModule *module)
{
- static const GTypeInfo info = {
+ const GTypeInfo info = {
sizeof (GObjectClass),
(GBaseInitFunc) NULL,
(GBaseFinalizeFunc) NULL,
0,
(GInstanceInitFunc) NULL
};
- static const GInterfaceInfo property_page_provider_iface_info = {
+ const GInterfaceInfo property_page_provider_iface_info = {
(GInterfaceInitFunc)property_page_provider_iface_init,
NULL,
NULL
g_error_free (error);
goto end;
}
+
+ if (!document)
+ goto end;
label = gtk_label_new (_("Document"));
page = ev_properties_view_new ();