*/
#include "ev-properties-view.h"
+#include "ev-backends-manager.h"
#include "ev-document-factory.h"
#include <config.h>
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 ();
/* set up translation catalog */
bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+
+ ev_backends_manager_init ();
}
void