no need to include <gtk/gtkenums.h> in headers which somehow include

2008-10-30  Michael Natterer  <mitch@imendio.com>

	* gtk/*.h: no need to include <gtk/gtkenums.h> in headers which
	somehow include gtkobject.h or another header which includes it.


svn path=/trunk/; revision=21734
This commit is contained in:
Michael Natterer 2008-10-30 16:34:16 +00:00 committed by Michael Natterer
parent a3b07ac981
commit 3544c28133
19 changed files with 25 additions and 12 deletions

View File

@ -1,3 +1,8 @@
2008-10-30 Michael Natterer <mitch@imendio.com>
* gtk/*.h: no need to include <gtk/gtkenums.h> in headers which
somehow include gtkobject.h or another header which includes it.
2008-10-30 Marek Kasik <mkasik@redhat.com>
Bug 339714 - Set printer dpi on cairo ps/pdf surfaces when printing

View File

@ -37,7 +37,6 @@
#include <gdk/gdk.h>
#include <gtk/gtkobject.h>
#include <gtk/gtkenums.h>
G_BEGIN_DECLS

View File

@ -33,7 +33,6 @@
#include <gtk/gtkbin.h>
#include <gtk/gtkenums.h>
#include <gtk/gtkimage.h>

View File

@ -37,7 +37,6 @@
#include <gtk/gtkbutton.h>
#include <gtk/gtkhscrollbar.h>
#include <gtk/gtkvscrollbar.h>
#include <gtk/gtkenums.h>
G_BEGIN_DECLS

View File

@ -32,7 +32,6 @@
#define __GTK_CONTAINER_H__
#include <gtk/gtkenums.h>
#include <gtk/gtkwidget.h>
#include <gtk/gtkadjustment.h>

View File

@ -33,7 +33,6 @@
#define __GTK_DND_H__
#include <gtk/gtkenums.h>
#include <gtk/gtkwidget.h>
#include <gtk/gtkselection.h>

View File

@ -37,6 +37,7 @@
#include <gtk/gtktypeutils.h>
#include <gtk/gtkdebug.h>
G_BEGIN_DECLS
/* macros for casting a pointer to a GtkObject or GtkObjectClass pointer,

View File

@ -25,9 +25,10 @@
#ifndef __GTK_PAGE_SETUP_H__
#define __GTK_PAGE_SETUP_H__
#include <gtk/gtkenums.h>
#include <gtk/gtkpapersize.h>
G_BEGIN_DECLS
typedef struct _GtkPageSetup GtkPageSetup;

View File

@ -25,8 +25,10 @@
#ifndef __GTK_PAPER_SIZE_H__
#define __GTK_PAPER_SIZE_H__
#include <gtk/gtkenums.h>
G_BEGIN_DECLS
typedef struct _GtkPaperSize GtkPaperSize;

View File

@ -25,10 +25,11 @@
#ifndef __GTK_PRINT_CONTEXT_H__
#define __GTK_PRINT_CONTEXT_H__
#include <pango/pango.h>
#include <gtk/gtkenums.h>
#include <gtk/gtkpagesetup.h>
G_BEGIN_DECLS
typedef struct _GtkPrintContext GtkPrintContext;

View File

@ -25,15 +25,16 @@
#ifndef __GTK_PRINT_OPERATION_H__
#define __GTK_PRINT_OPERATION_H__
#include <cairo.h>
#include <gtk/gtkmain.h>
#include <gtk/gtkenums.h>
#include <gtk/gtkwindow.h>
#include <gtk/gtkpagesetup.h>
#include <gtk/gtkprintsettings.h>
#include <gtk/gtkprintcontext.h>
#include <gtk/gtkprintoperationpreview.h>
G_BEGIN_DECLS
#define GTK_TYPE_PRINT_OPERATION (gtk_print_operation_get_type ())

View File

@ -20,8 +20,10 @@
#ifndef __GTK_PRINT_UTILS_H__
#define __GTK_PRINT_UTILS_H__
#include "gtkenums.h"
G_BEGIN_DECLS
#define MM_PER_INCH 25.4

View File

@ -31,10 +31,11 @@
#ifndef __GTK_SELECTION_H__
#define __GTK_SELECTION_H__
#include <gtk/gtkenums.h>
#include <gtk/gtkwidget.h>
#include <gtk/gtktextiter.h>
G_BEGIN_DECLS
typedef struct _GtkTargetList GtkTargetList;

View File

@ -36,6 +36,7 @@
#include <gtk/gtkenums.h>
#include <pango/pango.h>
G_BEGIN_DECLS
#define GTK_TYPE_STYLE (gtk_style_get_type ())

View File

@ -54,12 +54,14 @@
#ifndef __GTK_TEXT_TAG_H__
#define __GTK_TEXT_TAG_H__
#include <gdk/gdk.h>
#include <gtk/gtkenums.h>
/* Not needed, retained for compatibility -Yosh */
#include <gtk/gtkobject.h>
G_BEGIN_DECLS
typedef struct _GtkTextIter GtkTextIter;

View File

@ -38,7 +38,6 @@
#include <gtk/gtkcontainer.h>
#include <gtk/gtkenums.h>
#include <gtk/gtktooltips.h>
#include <gtk/gtktoolitem.h>

View File

@ -27,8 +27,10 @@
#ifndef __GTK_TOOL_SHELL_H__
#define __GTK_TOOL_SHELL_H__
#include <gtk/gtkenums.h>
G_BEGIN_DECLS
#define GTK_TYPE_TOOL_SHELL (gtk_tool_shell_get_type ())

View File

@ -24,10 +24,11 @@
#ifndef __GTK_TREE_SORTABLE_H__
#define __GTK_TREE_SORTABLE_H__
#include <gtk/gtkenums.h>
#include <gtk/gtktreemodel.h>
#include <gtk/gtktypeutils.h>
G_BEGIN_DECLS
#define GTK_TYPE_TREE_SORTABLE (gtk_tree_sortable_get_type ())

View File

@ -34,7 +34,6 @@
#include <gtk/gtkaccelgroup.h>
#include <gtk/gtkbin.h>
#include <gtk/gtkenums.h>
G_BEGIN_DECLS