Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libview/ev-view.h
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2009-01-25 15:08:57 (GMT)
committer Christian Persch <chpe@src.gnome.org>2009-01-25 15:08:57 (GMT)
commit4912987303aefef0d02a45726b75e5fdae043982 (patch)
tree3856f1dc17d3c927436672171532942b997dfe2b /libview/ev-view.h
parentb2c387604ca233c9c70a0595a24d381ddfafd1d4 (diff)
Renamed from evince-backend.pc.in. Renamed library to libevdocument.la.
* configure.ac: * evince-document.pc.in: Renamed from evince-backend.pc.in. * libdocument/Makefile.am: Renamed library to libevdocument.la. * libview/Makefile.am: * shell/Makefile.am: * backend/*/Makefile.am: Adapt to changed library name. * libdocument/Makefile.am: * libview/Makefile.am: Change the installed headers path to match the directory names in SVN. * evince-document.h: * evince-view.h: Add single headers. Bug #568227. * libdocument/*.h: * libview/*.h: Add single headers guards. * libview/Makefile.am: * libdocument/Makefile.am: * backend/*/Makefile.am: * help/reference/Makefile.am: Define EVINCE_COMPILATION, so we can still include individual headers. * properties/Makefile.am: * properties/ev-properties-main.c: * properties/ev-properties-view.h: * thumbnailer/Makefile.am: * thumbnailer/evince-thumbnailer.c: Include only evince-document.h. * libdocument/Makefile.am: * libview/Makefile.am: Generate type builtins from all installed headers. * libdocument/ev-link-action.[ch]: * libdocument/ev-link-dest.[ch]: * libdocument/ev-transition-effect.[ch]: * libview/ev-view.[ch]: Remove handcoded type builtins. * libdocument/Makefile.am: * evince-document.h: Add ev-document-factory.h to the public headers. svn path=/trunk/; revision=3381
Diffstat (limited to 'libview/ev-view.h')
-rw-r--r--libview/ev-view.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/libview/ev-view.h b/libview/ev-view.h
index af12baf..0c9db0a 100644
--- a/libview/ev-view.h
+++ b/libview/ev-view.h
@@ -17,13 +17,16 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*/
+#if !defined (__EV_EVINCE_VIEW_H_INSIDE__) && !defined (EVINCE_COMPILATION)
+#error "Only <evince-view.h> can be included directly."
+#endif
+
#ifndef __EV_VIEW_H__
#define __EV_VIEW_H__
#include <gtk/gtk.h>
-#include "ev-document.h"
-#include "ev-link.h"
+#include <evince-document.h>
G_BEGIN_DECLS
@@ -31,9 +34,6 @@ G_BEGIN_DECLS
#define EV_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_VIEW, EvView))
#define EV_IS_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_VIEW))
-#define EV_TYPE_SIZING_MODE (ev_sizing_mode_get_type())
-#define EV_SIZING_MODE_CLASS (g_type_class_peek (EV_TYPE_SIZING_MODE))
-
typedef struct _EvView EvView;
typedef struct _EvViewClass EvViewClass;
@@ -50,7 +50,6 @@ typedef enum {
} EvViewSelectionMode;
GType ev_view_get_type (void) G_GNUC_CONST;
-GType ev_sizing_mode_get_type (void) G_GNUC_CONST;
GtkWidget* ev_view_new (void);
void ev_view_set_document (EvView *view,