+2008-08-03 Wouter Bolsterlee <wbolster@svn.gnome.org>
+
+ * shell/eggfindbar.c:
+ * shell/ev-application.c:
+ * shell/ev-message-area.c:
+ * shell/ev-navigation-action.c:
+ * shell/ev-open-recent-action.c:
+ * shell/ev-page-action-widget.c:
+ * shell/ev-page-action.c:
+ * shell/ev-password-view.c:
+ * shell/ev-properties-dialog.c:
+ * shell/ev-properties-fonts.c:
+ * shell/ev-sidebar-attachments.c:
+ * shell/ev-sidebar-page.c:
+ * shell/ev-sidebar-thumbnails.c:
+ * shell/ev-stock-icons.c:
+ * shell/ev-tooltip.c:
+ * shell/ev-view.c:
+ * shell/ev-window.c:
+ * shell/main.c:
+
+ Cleanup many #include statements: reorder so that a
+ generic-to-specific order is used, use single gtk.h
+ includes, and some other cleanups.
+
2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-jobs.h:
#include "eggfindbar.h"
#include <glib/gi18n.h>
-#include <gtk/gtkhbox.h>
-#include <gtk/gtkentry.h>
-#include <gtk/gtkcheckbutton.h>
-#include <gtk/gtkvseparator.h>
-#include <gtk/gtkstock.h>
-#include <gtk/gtklabel.h>
+#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
-#include <gtk/gtkbindings.h>
-#include <gtk/gtkalignment.h>
-#include <gtk/gtktoolbutton.h>
-#include <gtk/gtkseparatortoolitem.h>
-#include <gtk/gtkarrow.h>
-#include <gtk/gtktoggletoolbutton.h>
-#include <gtk/gtkversion.h>
#include <string.h>
*/
#include <config.h>
+
+#include <glib.h>
+#include <glib/gi18n.h>
+#include <gtk/gtk.h>
+
+#if WITH_GNOME
+#include <libgnomeui/gnome-client.h>
+#endif
+
#include "ev-application.h"
#include "ev-utils.h"
#include "ev-file-helpers.h"
#endif /* ENABLE_DBUS */
#include "totem-scrsaver.h"
-#include <glib.h>
-#include <glib/gi18n.h>
-#include <glib-object.h>
-#include <gtk/gtkfilechooserdialog.h>
-#include <gtk/gtkstock.h>
-#include <gtk/gtkwidget.h>
-#include <gtk/gtkmain.h>
-
-#if WITH_GNOME
-#include <libgnomeui/gnome-client.h>
-#endif
-
#ifdef ENABLE_DBUS
#include "ev-application-service.h"
#include <dbus/dbus-glib-bindings.h>
*/
#include <config.h>
-#include <gtk/gtkaccessible.h>
-#include <gtk/gtklabel.h>
-#include <gtk/gtkhbox.h>
-#include <gtk/gtkvbox.h>
-#include <gtk/gtkimage.h>
-#include <gtk/gtkstock.h>
+
+#include <gtk/gtk.h>
#include "ev-message-area.h"
#include "config.h"
+#include <glib/gi18n.h>
+#include <gtk/gtk.h>
+
#include "ev-navigation-action.h"
#include "ev-navigation-action-widget.h"
-#include <gtk/gtklabel.h>
-#include <gtk/gtkimage.h>
-#include <gtk/gtkmenuitem.h>
-#include <gtk/gtkimagemenuitem.h>
-#include <gtk/gtkmenushell.h>
-#include <gtk/gtkmenu.h>
-#include <gtk/gtkmenutoolbutton.h>
-#include <glib/gi18n.h>
-
enum
{
WIDGET_ACTIVATE_LINK,
*/
#include <config.h>
-#include <gtk/gtk.h>
+
#include <glib/gi18n.h>
+#include <gtk/gtk.h>
#include "ev-open-recent-action.h"
#include "config.h"
+#include <string.h>
+#include <glib/gi18n.h>
+#include <gtk/gtk.h>
+
#include "ev-page-action.h"
#include "ev-page-cache.h"
#include "ev-window.h"
#include "ev-page-action-widget.h"
#include "ev-marshal.h"
-#include <glib/gi18n.h>
-#include <gtk/gtkentry.h>
-#include <gtk/gtktoolitem.h>
-#include <gtk/gtklabel.h>
-#include <gtk/gtkhbox.h>
-#include <string.h>
-
/* Widget we pass back */
static void ev_page_action_widget_init (EvPageActionWidget *action_widget);
static void ev_page_action_widget_class_init (EvPageActionWidgetClass *action_widget);
*
*/
+#ifdef HAVE_CONFIG_H
#include "config.h"
+#endif
+
+#include <string.h>
+#include <stdlib.h>
+#include <glib/gi18n.h>
+#include <gtk/gtk.h>
#include "ev-page-action.h"
#include "ev-page-cache.h"
#include "ev-page-action-widget.h"
#include "ev-marshal.h"
-#include <glib/gi18n.h>
-#include <gtk/gtkentry.h>
-#include <gtk/gtktoolitem.h>
-#include <gtk/gtklabel.h>
-#include <gtk/gtkhbox.h>
-#include <string.h>
-#include <stdlib.h>
-
struct _EvPageActionPrivate
{
EvPageCache *page_cache;
#include "config.h"
#endif
-#include <gtk/gtk.h>
#include <glib/gi18n.h>
-#include "ev-password-view.h"
+#include <gtk/gtk.h>
+
#include "ev-marshal.h"
+#include "ev-password-view.h"
enum {
UNLOCK,
#include "config.h"
#endif
-#include "ev-properties-view.h"
-#include "ev-properties-fonts.h"
-#include "ev-properties-dialog.h"
-#include "ev-page-cache.h"
-#include "ev-document-fonts.h"
-
#include <glib/gi18n.h>
-#include <gtk/gtkdialog.h>
-#include <gtk/gtklabel.h>
-#include <gtk/gtknotebook.h>
-#include <gtk/gtkstock.h>
-#include <gtk/gtkbox.h>
+#include <gtk/gtk.h>
+
+#include "ev-document-fonts.h"
+#include "ev-page-cache.h"
+#include "ev-properties-dialog.h"
+#include "ev-properties-fonts.h"
+#include "ev-properties-view.h"
struct _EvPropertiesDialog {
GtkDialog base_instance;
#include "config.h"
#endif
+#include <glib/gi18n.h>
+#include <gtk/gtk.h>
+#include <glade/glade.h>
+
#include "ev-properties-fonts.h"
#include "ev-document-fonts.h"
#include "ev-jobs.h"
#include "ev-job-scheduler.h"
-#include <glib/gi18n.h>
-#include <gtk/gtktreeview.h>
-#include <glade/glade.h>
-
struct _EvPropertiesFonts {
GtkVBox base_instance;
#include "config.h"
#endif
+#include <string.h>
#include <glib/gi18n.h>
#include <glib/gstdio.h>
#include <gtk/gtk.h>
-#include <string.h>
#include "ev-file-helpers.h"
#include "ev-sidebar-attachments.h"
#include "config.h"
#endif
-#include "ev-sidebar-page.h"
#include <gtk/gtk.h>
+#include "ev-sidebar-page.h"
+
static void ev_sidebar_page_iface_init (gpointer iface);
GType
#endif
#include <string.h>
-#include <gtk/gtk.h>
#include <glib/gi18n.h>
+#include <gtk/gtk.h>
#include "ev-sidebar-page.h"
#include "ev-sidebar-thumbnails.h"
#include <config.h>
#include "ev-stock-icons.h"
-#include <gtk/gtkiconfactory.h>
-#include <gtk/gtkstock.h>
-#include <gdk/gdkpixbuf.h>
+#include <gtk/gtk.h>
+#include <gdk/gdk.h>
typedef struct {
char *stock_id;
#include "config.h"
#endif
-#include "ev-tooltip.h"
+#include <gtk/gtk.h>
-#include <gtk/gtklabel.h>
+#include "ev-tooltip.h"
#define DEFAULT_DELAY 500
#define STICKY_DELAY 500
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*/
-#include <config.h>
+#include "config.h"
+
#include <stdlib.h>
#include <math.h>
#include <string.h>
-#include <gtk/gtkalignment.h>
#include <glib/gi18n.h>
-#include <gtk/gtkbindings.h>
-#include <gtk/gtkselection.h>
-#include <gtk/gtkclipboard.h>
+#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
#include "ev-marshal.h"
#include "config.h"
#endif
+#include <errno.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+
+#include <glib/gstdio.h>
+#include <glib/gi18n.h>
+#include <gio/gio.h>
+#include <gtk/gtk.h>
+#include <gtk/gtkprintunixdialog.h>
+#include <gconf/gconf-client.h>
+
#include "ev-window.h"
#include "ev-window-title.h"
#include "ev-navigation-action.h"
#include "ev-message-area.h"
#include "ev-mount-operation.h"
#include "ev-file-monitor.h"
+
#ifdef ENABLE_DBUS
#include "ev-media-player-keys.h"
#endif /* ENABLE_DBUS */
-#include <gtk/gtkprintunixdialog.h>
-
#ifdef ENABLE_PDF
#include <poppler.h>
#endif
-#include <glib/gstdio.h>
-#include <glib/gi18n.h>
-#include <gtk/gtk.h>
-#include <gio/gio.h>
-#include <gconf/gconf-client.h>
-
-#include <errno.h>
-#include <stdlib.h>
-#include <string.h>
-#include <unistd.h>
-
typedef enum {
PAGE_MODE_DOCUMENT,
PAGE_MODE_PASSWORD
#include "config.h"
-#include "ev-application.h"
-#include "ev-metadata-manager.h"
-#include "ev-debug.h"
-
-#include <glib/gi18n.h>
-#include <gdk/gdkx.h>
-#include <gtk/gtkmain.h>
#include <stdlib.h>
#include <string.h>
+#include <glib/gi18n.h>
+#include <gtk/gtk.h>
+#include <gdk/gdkx.h>
#if WITH_GNOME
#include <libgnome/gnome-program.h>
#include <dbus/dbus-glib-bindings.h>
#endif
-#include "ev-stock-icons.h"
-#include "ev-file-helpers.h"
+#include "ev-application.h"
#include "ev-backends-manager.h"
+#include "ev-debug.h"
+#include "ev-file-helpers.h"
+#include "ev-metadata-manager.h"
+#include "ev-stock-icons.h"
static gchar *ev_page_label;
static gchar *ev_find_string;