Commit da042c89 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

include <gtk/gtk.h> instead of <gtk/gtkaccessible.h>

2008-05-28  Michael Natterer  <mitch@gimp.org>

	* modules/other/gail/gailwidget.h: include <gtk/gtk.h> instead of
	<gtk/gtkaccessible.h>

	* modules/other/gail/*.h: don't include anyting from gtk since all
	headers indirectly include gailwidget.h.

	* modules/other/gail/gailcellparent.c: include <gtk/gtk.h> instead
	of individual files.

	* modules/other/gail/gailcheckmenuitem.c
	* modules/other/gail/gailmenu.c
	* modules/other/gail/gailtreeview.c: remove all gtk includes since
	it's always included by including any gail header.


svn path=/trunk/; revision=20211
parent 6720ef6d
2008-05-28 Michael Natterer <mitch@gimp.org>
* modules/other/gail/gailwidget.h: include <gtk/gtk.h> instead of
<gtk/gtkaccessible.h>
* modules/other/gail/*.h: don't include anyting from gtk since all
headers indirectly include gailwidget.h.
* modules/other/gail/gailcellparent.c: include <gtk/gtk.h> instead
of individual files.
* modules/other/gail/gailcheckmenuitem.c
* modules/other/gail/gailmenu.c
* modules/other/gail/gailtreeview.c: remove all gtk includes since
it's always included by including any gail header.
2008-05-28 Michael Natterer <mitch@imendio.com>
* modules/printbackends/cups/gtkcupsutils.c
* modules/printbackends/cups/gtkprintbackendcups.c
* modules/printbackends/file/gtkprintbackendfile.c
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_ARROW_H__
#define __GAIL_ARROW_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailwidget.h>
G_BEGIN_DECLS
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_BOX_H__
#define __GAIL_BOX_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailcontainer.h>
G_BEGIN_DECLS
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_BUTTON_H__
#define __GAIL_BUTTON_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailcontainer.h>
#include <libgail-util/gailtextutil.h>
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_CALENDAR_H__
#define __GAIL_CALENDAR_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailcontainer.h>
G_BEGIN_DECLS
......
......@@ -20,7 +20,7 @@
#include <config.h>
#include <gtk/gtkwidget.h>
#include <gtk/gtk.h>
#include "gailcellparent.h"
GType
......
......@@ -20,7 +20,6 @@
#include <config.h>
#include <string.h>
#include <gtk/gtk.h>
#include "gailcheckmenuitem.h"
#include "gailchecksubmenuitem.h"
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_CHECK_MENU_ITEM_H__
#define __GAIL_CHECK_MENU_ITEM_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailmenuitem.h>
G_BEGIN_DECLS
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_CHECK_SUB_MENU_ITEM_H__
#define __GAIL_CHECK_SUB_MENU_ITEM_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailsubmenuitem.h>
G_BEGIN_DECLS
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_CLIST_H__
#define __GAIL_CLIST_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailcontainer.h>
G_BEGIN_DECLS
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_COMBO_H__
#define __GAIL_COMBO_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailcontainer.h>
G_BEGIN_DECLS
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_COMBO_BOX_H__
#define __GAIL_COMBO_BOX_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailcontainer.h>
G_BEGIN_DECLS
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_CONTAINER_H__
#define __GAIL_CONTAINER_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailwidget.h>
G_BEGIN_DECLS
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_ENTRY_H__
#define __GAIL_ENTRY_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailwidget.h>
#include <libgail-util/gailtextutil.h>
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_EXPANDER_H__
#define __GAIL_EXPANDER_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailcontainer.h>
#include <libgail-util/gailtextutil.h>
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_FRAME_H__
#define __GAIL_FRAME_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailcontainer.h>
G_BEGIN_DECLS
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_IMAGE_H__
#define __GAIL_IMAGE_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailwidget.h>
G_BEGIN_DECLS
......
......@@ -31,7 +31,7 @@ G_BEGIN_DECLS
#define GAIL_IS_IMAGE_CELL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GAIL_TYPE_IMAGE_CELL))
#define GAIL_IS_IMAGE_CELL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GAIL_TYPE_IMAGE_CELL))78
#define GAIL_IMAGE_CELL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GAIL_TYPE_IMAGE_CELL, GailImageCellClass))
typedef struct _GailImageCell GailImageCell;
typedef struct _GailImageCellClass GailImageCellClass;
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_ITEM_H__
#define __GAIL_ITEM_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailcontainer.h>
#include <libgail-util/gailtextutil.h>
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_LABEL_H__
#define __GAIL_LABEL_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailwidget.h>
#include <libgail-util/gailtextutil.h>
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_LIST_H__
#define __GAIL_LIST_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailcontainer.h>
G_BEGIN_DECLS
......
......@@ -19,10 +19,6 @@
#include <config.h>
#include <gtk/gtkmenu.h>
#include <gtk/gtkmenuitem.h>
#include <gtk/gtkoptionmenu.h>
#include <gtk/gtkcombobox.h>
#include "gailmenu.h"
static void gail_menu_class_init (GailMenuClass *klass);
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_MENU_H__
#define __GAIL_MENU_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailmenushell.h>
G_BEGIN_DECLS
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_MENU_ITEM_H__
#define __GAIL_MENU_ITEM_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailitem.h>
G_BEGIN_DECLS
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_MENU_SHELL_H__
#define __GAIL_MENU_SHELL_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailcontainer.h>
G_BEGIN_DECLS
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_NOTEBOOK_H__
#define __GAIL_NOTEBOOK_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailcontainer.h>
G_BEGIN_DECLS
......@@ -38,7 +37,7 @@ typedef struct _GailNotebookClass GailNotebookClass;
struct _GailNotebook
{
GailContainer parent;
/*
* page_cache maintains a list of pre-ref'd Notebook Pages.
* This cache is queried by gail_notebook_ref_child().
......
......@@ -20,8 +20,6 @@
#ifndef __GAIL_NOTEBOOK_PAGE_H__
#define __GAIL_NOTEBOOK_PAGE_H__
#include <atk/atk.h>
#include <gtk/gtknotebook.h>
#include <gail/gailnotebook.h>
#include <libgail-util/gailtextutil.h>
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_OPTION_MENU_H__
#define __GAIL_OPTION_MENU_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailbutton.h>
G_BEGIN_DECLS
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_PANED_H__
#define __GAIL_PANED_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailcontainer.h>
G_BEGIN_DECLS
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_PIXMAP_H__
#define __GAIL_PIXMAP_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailwidget.h>
G_BEGIN_DECLS
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_PROGRESS_BAR_H__
#define __GAIL_PROGRESS_BAR_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailwidget.h>
G_BEGIN_DECLS
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_RADIO_BUTTON_H__
#define __GAIL_RADIO_BUTTON_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailtogglebutton.h>
G_BEGIN_DECLS
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_RADIO_MENU_ITEM_H__
#define __GAIL_RADIO_MENU_ITEM_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailcheckmenuitem.h>
G_BEGIN_DECLS
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_RADIO_SUB_MENU_ITEM_H__
#define __GAIL_RADIO_SUB_MENU_ITEM_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailchecksubmenuitem.h>
G_BEGIN_DECLS
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_RANGE_H__
#define __GAIL_RANGE_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailwidget.h>
G_BEGIN_DECLS
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_SCALE_H__
#define __GAIL_SCALE_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailrange.h>
#include <libgail-util/gailtextutil.h>
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_SCROLLBAR_H__
#define __GAIL_SCROLLBAR_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailrange.h>
G_BEGIN_DECLS
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_SCROLLED_WINDOW_H__
#define __GAIL_SCROLLED_WINDOW_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailcontainer.h>
G_BEGIN_DECLS
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_SEPARATOR_H__
#define __GAIL_SEPARATOR_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailwidget.h>
G_BEGIN_DECLS
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_SPIN_BUTTON_H__
#define __GAIL_SPIN_BUTTON_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailentry.h>
G_BEGIN_DECLS
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_STATUSBAR_H__
#define __GAIL_STATUSBAR_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailcontainer.h>
#include <libgail-util/gailtextutil.h>
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_SUB_MENU_ITEM_H__
#define __GAIL_SUB_MENU_ITEM_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailmenuitem.h>
G_BEGIN_DECLS
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_TEXT_VIEW_H__
#define __GAIL_TEXT_VIEW_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailcontainer.h>
#include <libgail-util/gailtextutil.h>
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_TOGGLE_BUTTON_H__
#define __GAIL_TOGGLE_BUTTON_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailbutton.h>
G_BEGIN_DECLS
......
......@@ -24,7 +24,6 @@
#ifdef GDK_WINDOWING_X11
#include <gdk/x11/gdkx.h>
#endif
#include <gtk/gtktreeviewcolumn.h>
#include "gailtreeview.h"
#include "gailrenderercell.h"
#include "gailbooleancell.h"
......
......@@ -20,7 +20,7 @@
#ifndef __GAIL_WIDGET_H__
#define __GAIL_WIDGET_H__
#include <gtk/gtkaccessible.h>
#include <gtk/gtk.h>
G_BEGIN_DECLS
......
......@@ -20,7 +20,6 @@
#ifndef __GAIL_WINDOW_H__
#define __GAIL_WINDOW_H__
#include <gtk/gtkaccessible.h>
#include <gail/gailcontainer.h>
G_BEGIN_DECLS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment