Commit e7b18d2a authored by Michael Natterer's avatar Michael Natterer Committed by Michael Natterer

no need to include <gdk/gdk.h> in any widget header, it's included via

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

	* gtk/*.h: no need to include <gdk/gdk.h> in any widget header,
	it's included via gtkwidget.h anyway.


svn path=/trunk/; revision=21732
parent 2c32cdd8
2008-10-30 Michael Natterer <mitch@imendio.com>
* gtk/*.h: no need to include <gdk/gdk.h> in any widget header,
it's included via gtkwidget.h anyway.
2008-10-30 Sven Neumann <sven@gimp.org> 2008-10-30 Sven Neumann <sven@gimp.org>
* gtk/gtkwidget.c (gtk_widget_get_property): removed redundant * gtk/gtkwidget.c (gtk_widget_get_property): removed redundant
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#define __GTK_ALIGNMENT_H__ #define __GTK_ALIGNMENT_H__
#include <gdk/gdk.h>
#include <gtk/gtkbin.h> #include <gtk/gtkbin.h>
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#define __GTK_ARROW_H__ #define __GTK_ARROW_H__
#include <gdk/gdk.h>
#include <gtk/gtkmisc.h> #include <gtk/gtkmisc.h>
......
...@@ -32,9 +32,9 @@ ...@@ -32,9 +32,9 @@
#define __GTK_ASPECT_FRAME_H__ #define __GTK_ASPECT_FRAME_H__
#include <gdk/gdk.h>
#include <gtk/gtkframe.h> #include <gtk/gtkframe.h>
G_BEGIN_DECLS G_BEGIN_DECLS
#define GTK_TYPE_ASPECT_FRAME (gtk_aspect_frame_get_type ()) #define GTK_TYPE_ASPECT_FRAME (gtk_aspect_frame_get_type ())
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#define __GTK_BIN_H__ #define __GTK_BIN_H__
#include <gdk/gdk.h>
#include <gtk/gtkcontainer.h> #include <gtk/gtkcontainer.h>
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#define __GTK_BOX_H__ #define __GTK_BOX_H__
#include <gdk/gdk.h>
#include <gtk/gtkcontainer.h> #include <gtk/gtkcontainer.h>
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#define __GTK_BUTTON_H__ #define __GTK_BUTTON_H__
#include <gdk/gdk.h>
#include <gtk/gtkbin.h> #include <gtk/gtkbin.h>
#include <gtk/gtkenums.h> #include <gtk/gtkenums.h>
#include <gtk/gtkimage.h> #include <gtk/gtkimage.h>
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
#ifndef __GTK_CALENDAR_H__ #ifndef __GTK_CALENDAR_H__
#define __GTK_CALENDAR_H__ #define __GTK_CALENDAR_H__
#include <gdk/gdk.h>
#include <gtk/gtkwidget.h> #include <gtk/gtkwidget.h>
/* Not needed, retained for compatibility -Yosh */ /* Not needed, retained for compatibility -Yosh */
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#define __GTK_CHECK_BUTTON_H__ #define __GTK_CHECK_BUTTON_H__
#include <gdk/gdk.h>
#include <gtk/gtktogglebutton.h> #include <gtk/gtktogglebutton.h>
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#define __GTK_CHECK_MENU_ITEM_H__ #define __GTK_CHECK_MENU_ITEM_H__
#include <gdk/gdk.h>
#include <gtk/gtkmenuitem.h> #include <gtk/gtkmenuitem.h>
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#ifndef __GTK_CLIST_H__ #ifndef __GTK_CLIST_H__
#define __GTK_CLIST_H__ #define __GTK_CLIST_H__
#include <gdk/gdk.h>
#include <gtk/gtksignal.h> #include <gtk/gtksignal.h>
#include <gtk/gtkalignment.h> #include <gtk/gtkalignment.h>
#include <gtk/gtklabel.h> #include <gtk/gtklabel.h>
...@@ -39,6 +39,7 @@ ...@@ -39,6 +39,7 @@
#include <gtk/gtkvscrollbar.h> #include <gtk/gtkvscrollbar.h>
#include <gtk/gtkenums.h> #include <gtk/gtkenums.h>
G_BEGIN_DECLS G_BEGIN_DECLS
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#define __GTK_CONTAINER_H__ #define __GTK_CONTAINER_H__
#include <gdk/gdk.h>
#include <gtk/gtkenums.h> #include <gtk/gtkenums.h>
#include <gtk/gtkwidget.h> #include <gtk/gtkwidget.h>
#include <gtk/gtkadjustment.h> #include <gtk/gtkadjustment.h>
......
...@@ -42,9 +42,9 @@ ...@@ -42,9 +42,9 @@
#define __GTK_CURVE_H__ #define __GTK_CURVE_H__
#include <gdk/gdk.h>
#include <gtk/gtkdrawingarea.h> #include <gtk/gtkdrawingarea.h>
G_BEGIN_DECLS G_BEGIN_DECLS
#define GTK_TYPE_CURVE (gtk_curve_get_type ()) #define GTK_TYPE_CURVE (gtk_curve_get_type ())
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#define __GTK_DIALOG_H__ #define __GTK_DIALOG_H__
#include <gdk/gdk.h>
#include <gtk/gtkwindow.h> #include <gtk/gtkwindow.h>
......
...@@ -32,11 +32,12 @@ ...@@ -32,11 +32,12 @@
#ifndef __GTK_DND_H__ #ifndef __GTK_DND_H__
#define __GTK_DND_H__ #define __GTK_DND_H__
#include <gdk/gdk.h>
#include <gtk/gtkenums.h> #include <gtk/gtkenums.h>
#include <gtk/gtkwidget.h> #include <gtk/gtkwidget.h>
#include <gtk/gtkselection.h> #include <gtk/gtkselection.h>
G_BEGIN_DECLS G_BEGIN_DECLS
typedef enum { typedef enum {
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#define __GTK_DRAWING_AREA_H__ #define __GTK_DRAWING_AREA_H__
#include <gdk/gdk.h>
#include <gtk/gtkwidget.h> #include <gtk/gtkwidget.h>
......
...@@ -32,9 +32,9 @@ ...@@ -32,9 +32,9 @@
#define __GTK_EDITABLE_H__ #define __GTK_EDITABLE_H__
#include <gdk/gdk.h>
#include <gtk/gtkwidget.h> #include <gtk/gtkwidget.h>
G_BEGIN_DECLS G_BEGIN_DECLS
#define GTK_TYPE_EDITABLE (gtk_editable_get_type ()) #define GTK_TYPE_EDITABLE (gtk_editable_get_type ())
......
...@@ -32,13 +32,13 @@ ...@@ -32,13 +32,13 @@
#define __GTK_ENTRY_H__ #define __GTK_ENTRY_H__
#include <gdk/gdk.h>
#include <gtk/gtkeditable.h> #include <gtk/gtkeditable.h>
#include <gtk/gtkimcontext.h> #include <gtk/gtkimcontext.h>
#include <gtk/gtkmenu.h> #include <gtk/gtkmenu.h>
#include <gtk/gtkentrycompletion.h> #include <gtk/gtkentrycompletion.h>
#include <pango/pango.h> #include <pango/pango.h>
G_BEGIN_DECLS G_BEGIN_DECLS
#define GTK_TYPE_ENTRY (gtk_entry_get_type ()) #define GTK_TYPE_ENTRY (gtk_entry_get_type ())
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#define __GTK_EVENT_BOX_H__ #define __GTK_EVENT_BOX_H__
#include <gdk/gdk.h>
#include <gtk/gtkbin.h> #include <gtk/gtkbin.h>
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#define __GTK_FIXED_H__ #define __GTK_FIXED_H__
#include <gdk/gdk.h>
#include <gtk/gtkcontainer.h> #include <gtk/gtkcontainer.h>
......
...@@ -36,10 +36,10 @@ ...@@ -36,10 +36,10 @@
#define __GTK_FONTSEL_H__ #define __GTK_FONTSEL_H__
#include <gdk/gdk.h>
#include <gtk/gtkdialog.h> #include <gtk/gtkdialog.h>
#include <gtk/gtkvbox.h> #include <gtk/gtkvbox.h>
G_BEGIN_DECLS G_BEGIN_DECLS
#define GTK_TYPE_FONT_SELECTION (gtk_font_selection_get_type ()) #define GTK_TYPE_FONT_SELECTION (gtk_font_selection_get_type ())
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#define __GTK_FRAME_H__ #define __GTK_FRAME_H__
#include <gdk/gdk.h>
#include <gtk/gtkbin.h> #include <gtk/gtkbin.h>
......
...@@ -42,7 +42,6 @@ ...@@ -42,7 +42,6 @@
#define __GTK_GAMMA_CURVE_H__ #define __GTK_GAMMA_CURVE_H__
#include <gdk/gdk.h>
#include <gtk/gtkvbox.h> #include <gtk/gtkvbox.h>
......
...@@ -37,7 +37,6 @@ ...@@ -37,7 +37,6 @@
#define __GTK_HANDLE_BOX_H__ #define __GTK_HANDLE_BOX_H__
#include <gdk/gdk.h>
#include <gtk/gtkbin.h> #include <gtk/gtkbin.h>
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#define __GTK_HBOX_H__ #define __GTK_HBOX_H__
#include <gdk/gdk.h>
#include <gtk/gtkbox.h> #include <gtk/gtkbox.h>
......
...@@ -42,7 +42,6 @@ ...@@ -42,7 +42,6 @@
#define __GTK_HRULER_H__ #define __GTK_HRULER_H__
#include <gdk/gdk.h>
#include <gtk/gtkruler.h> #include <gtk/gtkruler.h>
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#define __GTK_HSCALE_H__ #define __GTK_HSCALE_H__
#include <gdk/gdk.h>
#include <gtk/gtkscale.h> #include <gtk/gtkscale.h>
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#define __GTK_HSCROLLBAR_H__ #define __GTK_HSCROLLBAR_H__
#include <gdk/gdk.h>
#include <gtk/gtkscrollbar.h> #include <gtk/gtkscrollbar.h>
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#define __GTK_HSEPARATOR_H__ #define __GTK_HSEPARATOR_H__
#include <gdk/gdk.h>
#include <gtk/gtkseparator.h> #include <gtk/gtkseparator.h>
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#define __GTK_IMAGE_H__ #define __GTK_IMAGE_H__
#include <gdk/gdk.h>
#include <gio/gio.h> #include <gio/gio.h>
#include <gtk/gtkmisc.h> #include <gtk/gtkmisc.h>
......
...@@ -32,9 +32,9 @@ ...@@ -32,9 +32,9 @@
#define __GTK_IMAGE_MENU_ITEM_H__ #define __GTK_IMAGE_MENU_ITEM_H__
#include <gdk/gdk.h>
#include <gtk/gtkmenuitem.h> #include <gtk/gtkmenuitem.h>
G_BEGIN_DECLS G_BEGIN_DECLS
#define GTK_TYPE_IMAGE_MENU_ITEM (gtk_image_menu_item_get_type ()) #define GTK_TYPE_IMAGE_MENU_ITEM (gtk_image_menu_item_get_type ())
......
...@@ -42,7 +42,6 @@ ...@@ -42,7 +42,6 @@
#define __GTK_INPUTDIALOG_H__ #define __GTK_INPUTDIALOG_H__
#include <gdk/gdk.h>
#include <gtk/gtkdialog.h> #include <gtk/gtkdialog.h>
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#define __GTK_ITEM_H__ #define __GTK_ITEM_H__
#include <gdk/gdk.h>
#include <gtk/gtkbin.h> #include <gtk/gtkbin.h>
......
...@@ -31,11 +31,11 @@ ...@@ -31,11 +31,11 @@
#define __GTK_LABEL_H__ #define __GTK_LABEL_H__
#include <gdk/gdk.h>
#include <gtk/gtkmisc.h> #include <gtk/gtkmisc.h>
#include <gtk/gtkwindow.h> #include <gtk/gtkwindow.h>
#include <gtk/gtkmenu.h> #include <gtk/gtkmenu.h>
G_BEGIN_DECLS G_BEGIN_DECLS
#define GTK_TYPE_LABEL (gtk_label_get_type ()) #define GTK_TYPE_LABEL (gtk_label_get_type ())
......
...@@ -35,10 +35,11 @@ ...@@ -35,10 +35,11 @@
#ifndef __GTK_LAYOUT_H__ #ifndef __GTK_LAYOUT_H__
#define __GTK_LAYOUT_H__ #define __GTK_LAYOUT_H__
#include <gdk/gdk.h>
#include <gtk/gtkcontainer.h> #include <gtk/gtkcontainer.h>
#include <gtk/gtkadjustment.h> #include <gtk/gtkadjustment.h>
G_BEGIN_DECLS G_BEGIN_DECLS
#define GTK_TYPE_LAYOUT (gtk_layout_get_type ()) #define GTK_TYPE_LAYOUT (gtk_layout_get_type ())
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#define __GTK_MENU_H__ #define __GTK_MENU_H__
#include <gdk/gdk.h>
#include <gtk/gtkaccelgroup.h> #include <gtk/gtkaccelgroup.h>
#include <gtk/gtkmenushell.h> #include <gtk/gtkmenushell.h>
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#define __GTK_MENU_BAR_H__ #define __GTK_MENU_BAR_H__
#include <gdk/gdk.h>
#include <gtk/gtkmenushell.h> #include <gtk/gtkmenushell.h>
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#define __GTK_MENU_ITEM_H__ #define __GTK_MENU_ITEM_H__
#include <gdk/gdk.h>
#include <gtk/gtkitem.h> #include <gtk/gtkitem.h>
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#define __GTK_MENU_SHELL_H__ #define __GTK_MENU_SHELL_H__
#include <gdk/gdk.h>
#include <gtk/gtkcontainer.h> #include <gtk/gtkcontainer.h>
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#define __GTK_MISC_H__ #define __GTK_MISC_H__
#include <gdk/gdk.h>
#include <gtk/gtkwidget.h> #include <gtk/gtkwidget.h>
...@@ -52,10 +51,10 @@ typedef struct _GtkMiscClass GtkMiscClass; ...@@ -52,10 +51,10 @@ typedef struct _GtkMiscClass GtkMiscClass;
struct _GtkMisc struct _GtkMisc
{ {
GtkWidget widget; GtkWidget widget;
gfloat GSEAL (xalign); gfloat GSEAL (xalign);
gfloat GSEAL (yalign); gfloat GSEAL (yalign);
guint16 GSEAL (xpad); guint16 GSEAL (xpad);
guint16 GSEAL (ypad); guint16 GSEAL (ypad);
}; };
......
...@@ -33,9 +33,9 @@ ...@@ -33,9 +33,9 @@
#define __GTK_NOTEBOOK_H__ #define __GTK_NOTEBOOK_H__
#include <gdk/gdk.h>
#include <gtk/gtkcontainer.h> #include <gtk/gtkcontainer.h>
G_BEGIN_DECLS G_BEGIN_DECLS
#define GTK_TYPE_NOTEBOOK (gtk_notebook_get_type ()) #define GTK_TYPE_NOTEBOOK (gtk_notebook_get_type ())
......
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
#define __GTK_PLUG_H__ #define __GTK_PLUG_H__
#include <gdk/gdk.h>
#include <gtk/gtksocket.h> #include <gtk/gtksocket.h>
#include <gtk/gtkwindow.h> #include <gtk/gtkwindow.h>
......
...@@ -21,14 +21,13 @@ ...@@ -21,14 +21,13 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
* file for a list of people on the GTK+ Team. See the ChangeLog * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#ifndef __GTK_PROGRESS_H__ #ifndef __GTK_PROGRESS_H__
#define __GTK_PROGRESS_H__ #define __GTK_PROGRESS_H__
#include <gdk/gdk.h>
#include <gtk/gtkwidget.h> #include <gtk/gtkwidget.h>
#include <gtk/gtkadjustment.h> #include <gtk/gtkadjustment.h>
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#define __GTK_PROGRESS_BAR_H__ #define __GTK_PROGRESS_BAR_H__
#include <gdk/gdk.h>
#include <gtk/gtkprogress.h> #include <gtk/gtkprogress.h>
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#define __GTK_RADIO_BUTTON_H__ #define __GTK_RADIO_BUTTON_H__
#include <gdk/gdk.h>
#include <gtk/gtkcheckbutton.h> #include <gtk/gtkcheckbutton.h>
......
...@@ -32,9 +32,9 @@ ...@@ -32,9 +32,9 @@