Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libdocument
diff options
context:
space:
mode:
authorWouter Bolsterlee <wbolster@svn.gnome.org>2008-08-03 18:32:42 (GMT)
committer Wouter Bolsterlee <wbolster@src.gnome.org>2008-08-03 18:32:42 (GMT)
commit75d6ca169171f642ba7438e648b4529638bf90c3 (patch)
tree61fcca3a53136be5f504577fff85efe09d40ed77 /libdocument
parent3e7d5f82187c7fc0d8515c1706aeab0bd0b44dfd (diff)
More #include cleanups. Again: reordering, single gtk.h includes and other
2008-08-03 Wouter Bolsterlee <wbolster@svn.gnome.org> * backend/impress/impress-document.c: * backend/impress/render.h: * libdocument/ev-document-factory.c: * libdocument/ev-document-factory.h: * libdocument/ev-document-links.h: * libdocument/ev-document-misc.c: * libdocument/ev-document-misc.h: * properties/ev-properties-main.c: * properties/ev-properties-view.c: * properties/ev-properties-view.h: * shell/eggfindbar.c: * shell/eggfindbar.h: * shell/ev-application.c: * shell/ev-application.h: * shell/ev-jobs.h: * shell/ev-message-area.h: * shell/ev-navigation-action.c: * shell/ev-navigation-action.h: * shell/ev-open-recent-action.c: * shell/ev-open-recent-action.h: * shell/ev-page-action-widget.c: * shell/ev-page-action.c: * shell/ev-page-action.h: * shell/ev-page-cache.h: * shell/ev-password-view.h: * shell/ev-password.h: * shell/ev-pixbuf-cache.h: * shell/ev-properties-fonts.c: * shell/ev-sidebar-attachments.c: * shell/ev-sidebar-links.c: * shell/ev-sidebar-links.h: * shell/ev-sidebar-thumbnails.c: * shell/ev-sidebar-thumbnails.h: * shell/ev-sidebar.c: * shell/ev-sidebar.h: * shell/ev-stock-icons.c: * shell/ev-tooltip.h: * shell/ev-view.c: * shell/ev-view.h: * shell/ev-window.c: * shell/ev-window.h: * shell/main.c: More #include cleanups. Again: reordering, single gtk.h includes and other stuff. svn path=/trunk/; revision=3095
Diffstat (limited to 'libdocument')
-rw-r--r--libdocument/ev-document-factory.c1
-rw-r--r--libdocument/ev-document-factory.h1
-rw-r--r--libdocument/ev-document-links.h1
-rw-r--r--libdocument/ev-document-misc.c5
-rw-r--r--libdocument/ev-document-misc.h3
5 files changed, 7 insertions, 4 deletions
diff --git a/libdocument/ev-document-factory.c b/libdocument/ev-document-factory.c
index e7c76b9..a920be6 100644
--- a/libdocument/ev-document-factory.c
+++ b/libdocument/ev-document-factory.c
@@ -23,6 +23,7 @@
#endif
#include <string.h>
+
#include <gio/gio.h>
#include <glib/gstdio.h>
#include <glib/gi18n.h>
diff --git a/libdocument/ev-document-factory.h b/libdocument/ev-document-factory.h
index 55c59e4..82e47a2 100644
--- a/libdocument/ev-document-factory.h
+++ b/libdocument/ev-document-factory.h
@@ -22,6 +22,7 @@
#define EV_DOCUMENT_FACTORY_H
#include <gtk/gtk.h>
+
#include "ev-document.h"
G_BEGIN_DECLS
diff --git a/libdocument/ev-document-links.h b/libdocument/ev-document-links.h
index a9208f4..f6a6a48 100644
--- a/libdocument/ev-document-links.h
+++ b/libdocument/ev-document-links.h
@@ -33,7 +33,6 @@
G_BEGIN_DECLS
-
#define EV_TYPE_DOCUMENT_LINKS (ev_document_links_get_type ())
#define EV_DOCUMENT_LINKS(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EV_TYPE_DOCUMENT_LINKS, EvDocumentLinks))
#define EV_DOCUMENT_LINKS_IFACE(k) (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_DOCUMENT_LINKS, EvDocumentLinksIface))
diff --git a/libdocument/ev-document-misc.c b/libdocument/ev-document-misc.c
index 7898a8c..889e4a8 100644
--- a/libdocument/ev-document-misc.c
+++ b/libdocument/ev-document-misc.c
@@ -18,10 +18,13 @@
*/
#include <config.h>
-#include "ev-document-misc.h"
+
#include <string.h>
+
#include <gtk/gtk.h>
+#include "ev-document-misc.h"
+
/* Returns a new GdkPixbuf that is suitable for placing in the thumbnail view.
* It is four pixels wider and taller than the source. If source_pixbuf is not
* NULL, then it will fill the return pixbuf with the contents of
diff --git a/libdocument/ev-document-misc.h b/libdocument/ev-document-misc.h
index b58af18..5fdb670 100644
--- a/libdocument/ev-document-misc.h
+++ b/libdocument/ev-document-misc.h
@@ -22,14 +22,13 @@
#ifndef EV_DOCUMENT_MISC_H
#define EV_DOCUMENT_MISC_H
+#include <cairo.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <gtk/gtkstyle.h>
-#include <cairo.h>
G_BEGIN_DECLS
-
GdkPixbuf *ev_document_misc_get_thumbnail_frame (int width,
int height,
GdkPixbuf *source_pixbuf);