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:
committed by
Michael Natterer
parent
a3b07ac981
commit
3544c28133
@ -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>
|
2008-10-30 Marek Kasik <mkasik@redhat.com>
|
||||||
|
|
||||||
Bug 339714 - Set printer dpi on cairo ps/pdf surfaces when printing
|
Bug 339714 - Set printer dpi on cairo ps/pdf surfaces when printing
|
||||||
|
|||||||
@ -37,7 +37,6 @@
|
|||||||
|
|
||||||
#include <gdk/gdk.h>
|
#include <gdk/gdk.h>
|
||||||
#include <gtk/gtkobject.h>
|
#include <gtk/gtkobject.h>
|
||||||
#include <gtk/gtkenums.h>
|
|
||||||
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|||||||
@ -33,7 +33,6 @@
|
|||||||
|
|
||||||
|
|
||||||
#include <gtk/gtkbin.h>
|
#include <gtk/gtkbin.h>
|
||||||
#include <gtk/gtkenums.h>
|
|
||||||
#include <gtk/gtkimage.h>
|
#include <gtk/gtkimage.h>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -37,7 +37,6 @@
|
|||||||
#include <gtk/gtkbutton.h>
|
#include <gtk/gtkbutton.h>
|
||||||
#include <gtk/gtkhscrollbar.h>
|
#include <gtk/gtkhscrollbar.h>
|
||||||
#include <gtk/gtkvscrollbar.h>
|
#include <gtk/gtkvscrollbar.h>
|
||||||
#include <gtk/gtkenums.h>
|
|
||||||
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|||||||
@ -32,7 +32,6 @@
|
|||||||
#define __GTK_CONTAINER_H__
|
#define __GTK_CONTAINER_H__
|
||||||
|
|
||||||
|
|
||||||
#include <gtk/gtkenums.h>
|
|
||||||
#include <gtk/gtkwidget.h>
|
#include <gtk/gtkwidget.h>
|
||||||
#include <gtk/gtkadjustment.h>
|
#include <gtk/gtkadjustment.h>
|
||||||
|
|
||||||
|
|||||||
@ -33,7 +33,6 @@
|
|||||||
#define __GTK_DND_H__
|
#define __GTK_DND_H__
|
||||||
|
|
||||||
|
|
||||||
#include <gtk/gtkenums.h>
|
|
||||||
#include <gtk/gtkwidget.h>
|
#include <gtk/gtkwidget.h>
|
||||||
#include <gtk/gtkselection.h>
|
#include <gtk/gtkselection.h>
|
||||||
|
|
||||||
|
|||||||
@ -37,6 +37,7 @@
|
|||||||
#include <gtk/gtktypeutils.h>
|
#include <gtk/gtktypeutils.h>
|
||||||
#include <gtk/gtkdebug.h>
|
#include <gtk/gtkdebug.h>
|
||||||
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* macros for casting a pointer to a GtkObject or GtkObjectClass pointer,
|
/* macros for casting a pointer to a GtkObject or GtkObjectClass pointer,
|
||||||
|
|||||||
@ -25,9 +25,10 @@
|
|||||||
#ifndef __GTK_PAGE_SETUP_H__
|
#ifndef __GTK_PAGE_SETUP_H__
|
||||||
#define __GTK_PAGE_SETUP_H__
|
#define __GTK_PAGE_SETUP_H__
|
||||||
|
|
||||||
#include <gtk/gtkenums.h>
|
|
||||||
#include <gtk/gtkpapersize.h>
|
#include <gtk/gtkpapersize.h>
|
||||||
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
typedef struct _GtkPageSetup GtkPageSetup;
|
typedef struct _GtkPageSetup GtkPageSetup;
|
||||||
|
|||||||
@ -25,8 +25,10 @@
|
|||||||
#ifndef __GTK_PAPER_SIZE_H__
|
#ifndef __GTK_PAPER_SIZE_H__
|
||||||
#define __GTK_PAPER_SIZE_H__
|
#define __GTK_PAPER_SIZE_H__
|
||||||
|
|
||||||
|
|
||||||
#include <gtk/gtkenums.h>
|
#include <gtk/gtkenums.h>
|
||||||
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
typedef struct _GtkPaperSize GtkPaperSize;
|
typedef struct _GtkPaperSize GtkPaperSize;
|
||||||
|
|||||||
@ -25,10 +25,11 @@
|
|||||||
#ifndef __GTK_PRINT_CONTEXT_H__
|
#ifndef __GTK_PRINT_CONTEXT_H__
|
||||||
#define __GTK_PRINT_CONTEXT_H__
|
#define __GTK_PRINT_CONTEXT_H__
|
||||||
|
|
||||||
|
|
||||||
#include <pango/pango.h>
|
#include <pango/pango.h>
|
||||||
#include <gtk/gtkenums.h>
|
|
||||||
#include <gtk/gtkpagesetup.h>
|
#include <gtk/gtkpagesetup.h>
|
||||||
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
typedef struct _GtkPrintContext GtkPrintContext;
|
typedef struct _GtkPrintContext GtkPrintContext;
|
||||||
|
|||||||
@ -25,15 +25,16 @@
|
|||||||
#ifndef __GTK_PRINT_OPERATION_H__
|
#ifndef __GTK_PRINT_OPERATION_H__
|
||||||
#define __GTK_PRINT_OPERATION_H__
|
#define __GTK_PRINT_OPERATION_H__
|
||||||
|
|
||||||
|
|
||||||
#include <cairo.h>
|
#include <cairo.h>
|
||||||
#include <gtk/gtkmain.h>
|
#include <gtk/gtkmain.h>
|
||||||
#include <gtk/gtkenums.h>
|
|
||||||
#include <gtk/gtkwindow.h>
|
#include <gtk/gtkwindow.h>
|
||||||
#include <gtk/gtkpagesetup.h>
|
#include <gtk/gtkpagesetup.h>
|
||||||
#include <gtk/gtkprintsettings.h>
|
#include <gtk/gtkprintsettings.h>
|
||||||
#include <gtk/gtkprintcontext.h>
|
#include <gtk/gtkprintcontext.h>
|
||||||
#include <gtk/gtkprintoperationpreview.h>
|
#include <gtk/gtkprintoperationpreview.h>
|
||||||
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GTK_TYPE_PRINT_OPERATION (gtk_print_operation_get_type ())
|
#define GTK_TYPE_PRINT_OPERATION (gtk_print_operation_get_type ())
|
||||||
|
|||||||
@ -20,8 +20,10 @@
|
|||||||
#ifndef __GTK_PRINT_UTILS_H__
|
#ifndef __GTK_PRINT_UTILS_H__
|
||||||
#define __GTK_PRINT_UTILS_H__
|
#define __GTK_PRINT_UTILS_H__
|
||||||
|
|
||||||
|
|
||||||
#include "gtkenums.h"
|
#include "gtkenums.h"
|
||||||
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define MM_PER_INCH 25.4
|
#define MM_PER_INCH 25.4
|
||||||
|
|||||||
@ -31,10 +31,11 @@
|
|||||||
#ifndef __GTK_SELECTION_H__
|
#ifndef __GTK_SELECTION_H__
|
||||||
#define __GTK_SELECTION_H__
|
#define __GTK_SELECTION_H__
|
||||||
|
|
||||||
#include <gtk/gtkenums.h>
|
|
||||||
#include <gtk/gtkwidget.h>
|
#include <gtk/gtkwidget.h>
|
||||||
#include <gtk/gtktextiter.h>
|
#include <gtk/gtktextiter.h>
|
||||||
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
typedef struct _GtkTargetList GtkTargetList;
|
typedef struct _GtkTargetList GtkTargetList;
|
||||||
|
|||||||
@ -36,6 +36,7 @@
|
|||||||
#include <gtk/gtkenums.h>
|
#include <gtk/gtkenums.h>
|
||||||
#include <pango/pango.h>
|
#include <pango/pango.h>
|
||||||
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GTK_TYPE_STYLE (gtk_style_get_type ())
|
#define GTK_TYPE_STYLE (gtk_style_get_type ())
|
||||||
|
|||||||
@ -54,12 +54,14 @@
|
|||||||
#ifndef __GTK_TEXT_TAG_H__
|
#ifndef __GTK_TEXT_TAG_H__
|
||||||
#define __GTK_TEXT_TAG_H__
|
#define __GTK_TEXT_TAG_H__
|
||||||
|
|
||||||
|
|
||||||
#include <gdk/gdk.h>
|
#include <gdk/gdk.h>
|
||||||
#include <gtk/gtkenums.h>
|
#include <gtk/gtkenums.h>
|
||||||
|
|
||||||
/* Not needed, retained for compatibility -Yosh */
|
/* Not needed, retained for compatibility -Yosh */
|
||||||
#include <gtk/gtkobject.h>
|
#include <gtk/gtkobject.h>
|
||||||
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
typedef struct _GtkTextIter GtkTextIter;
|
typedef struct _GtkTextIter GtkTextIter;
|
||||||
|
|||||||
@ -38,7 +38,6 @@
|
|||||||
|
|
||||||
|
|
||||||
#include <gtk/gtkcontainer.h>
|
#include <gtk/gtkcontainer.h>
|
||||||
#include <gtk/gtkenums.h>
|
|
||||||
#include <gtk/gtktooltips.h>
|
#include <gtk/gtktooltips.h>
|
||||||
#include <gtk/gtktoolitem.h>
|
#include <gtk/gtktoolitem.h>
|
||||||
|
|
||||||
|
|||||||
@ -27,8 +27,10 @@
|
|||||||
#ifndef __GTK_TOOL_SHELL_H__
|
#ifndef __GTK_TOOL_SHELL_H__
|
||||||
#define __GTK_TOOL_SHELL_H__
|
#define __GTK_TOOL_SHELL_H__
|
||||||
|
|
||||||
|
|
||||||
#include <gtk/gtkenums.h>
|
#include <gtk/gtkenums.h>
|
||||||
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GTK_TYPE_TOOL_SHELL (gtk_tool_shell_get_type ())
|
#define GTK_TYPE_TOOL_SHELL (gtk_tool_shell_get_type ())
|
||||||
|
|||||||
@ -24,10 +24,11 @@
|
|||||||
#ifndef __GTK_TREE_SORTABLE_H__
|
#ifndef __GTK_TREE_SORTABLE_H__
|
||||||
#define __GTK_TREE_SORTABLE_H__
|
#define __GTK_TREE_SORTABLE_H__
|
||||||
|
|
||||||
#include <gtk/gtkenums.h>
|
|
||||||
#include <gtk/gtktreemodel.h>
|
#include <gtk/gtktreemodel.h>
|
||||||
#include <gtk/gtktypeutils.h>
|
#include <gtk/gtktypeutils.h>
|
||||||
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GTK_TYPE_TREE_SORTABLE (gtk_tree_sortable_get_type ())
|
#define GTK_TYPE_TREE_SORTABLE (gtk_tree_sortable_get_type ())
|
||||||
|
|||||||
@ -34,7 +34,6 @@
|
|||||||
|
|
||||||
#include <gtk/gtkaccelgroup.h>
|
#include <gtk/gtkaccelgroup.h>
|
||||||
#include <gtk/gtkbin.h>
|
#include <gtk/gtkbin.h>
|
||||||
#include <gtk/gtkenums.h>
|
|
||||||
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|||||||
Reference in New Issue
Block a user