From 54bf2ac0ed59a10a51405ee9f14de5eb9d503148 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Thu, 07 Jul 2005 14:57:39 +0000 Subject: Add an _init functions that enabled metadata management at runtime. 2005-07-07 Marco Pesenti Gritti * shell/ev-metadata-manager.c: (ev_metadata_manager_init), (ev_metadata_manager_get), (ev_metadata_manager_set): * shell/ev-metadata-manager.h: Add an _init functions that enabled metadata management at runtime. * shell/ev-window.c: (page_changed_cb), (setup_document_from_metadata), (ev_window_setup_document), (setup_view_from_metadata), (ev_window_open_uri), (ev_window_run_fullscreen), (ev_window_stop_fullscreen), (ev_window_run_presentation), (ev_window_stop_presentation), (save_sizing_mode), (ev_window_zoom_changed_cb), (ev_window_continuous_changed_cb), (ev_window_dual_mode_changed_cb), (window_state_event_cb), (window_configure_event_cb): Remove all ugly metadata define since we deal with it at runtime now. * shell/main.c: (load_files_remote), (main): Add support for dbus cvs head. Hopefully didnt break one of the other versions now! If we dont get a response from the dbus server just give up with it and not enable metadata. --- (limited to 'shell/ev-metadata-manager.h') diff --git a/shell/ev-metadata-manager.h b/shell/ev-metadata-manager.h index 9934c25..97abb3e 100644 --- a/shell/ev-metadata-manager.h +++ b/shell/ev-metadata-manager.h @@ -28,6 +28,7 @@ G_BEGIN_DECLS +void ev_metadata_manager_init (void); gboolean ev_metadata_manager_get (const gchar *uri, const gchar *key, GValue *value); -- cgit v0.9.1