Update gtk include headers to follow gtk recommendations (only include gtk/gtk.h)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20342 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Geert Janssens
2011-02-26 13:04:37 +00:00
parent f19e1d0d4c
commit cb366864c4
40 changed files with 43 additions and 56 deletions

View File

@@ -25,7 +25,7 @@
#ifndef __GNC_PLUGIN_BUSINESS_H
#define __GNC_PLUGIN_BUSINESS_H
#include <gtk/gtkwindow.h>
#include <gtk/gtk.h>
#include "gnc-plugin.h"

View File

@@ -33,7 +33,7 @@
#ifndef __GNC_PLUGIN_PAGE_INVOICE_H
#define __GNC_PLUGIN_PAGE_INVOICE_H
#include <gtk/gtkwindow.h>
#include <gtk/gtk.h>
#include "Account.h"
#include "gnc-ledger-display.h"

View File

@@ -36,7 +36,7 @@
#ifndef __GNC_EMBEDDED_WINDOW_H
#define __GNC_EMBEDDED_WINDOW_H
#include <gtk/gtkwindow.h>
#include <gtk/gtk.h>
#include "gnc-plugin-page.h"

View File

@@ -40,7 +40,7 @@
#define KEYRING_H_
#include <glib.h>
#include <gtk/gtk.h> /* For GtkWidget */
#include <gtk/gtk.h>
/** Attempt to store a password in some trusted keystore. At this point

View File

@@ -36,7 +36,7 @@
#ifndef __GNC_TREE_MODEL_ACCOUNT_H
#define __GNC_TREE_MODEL_ACCOUNT_H
#include <gtk/gtktreemodel.h>
#include <gtk/gtk.h>
#include "gnc-tree-model.h"
#include "Account.h"

View File

@@ -36,8 +36,7 @@
#ifndef __GNC_TREE_MODEL_COMMODITY_H
#define __GNC_TREE_MODEL_COMMODITY_H
#include <gtk/gtktreemodel.h>
#include <gtk/gtktreeselection.h>
#include <gtk/gtk.h>
#include "gnc-tree-model.h"
#include "gnc-commodity.h"

View File

@@ -36,7 +36,7 @@
#ifndef __GNC_TREE_MODEL_PRICE_H
#define __GNC_TREE_MODEL_PRICE_H
#include <gtk/gtktreemodel.h>
#include <gtk/gtk.h>
#include "gnc-tree-model.h"
#include "gnc-pricedb.h"

View File

@@ -25,7 +25,7 @@
#include "config.h"
#include <gtk/gtkcellrenderertoggle.h>
#include <gtk/gtk.h>
#include "gnc-tree-model-selection.h"

View File

@@ -37,8 +37,7 @@
#ifndef __GNC_TREE_MODEL_SELECTION_H
#define __GNC_TREE_MODEL_SELECTION_H
#include <gtk/gtktreemodel.h>
#include <gtk/gtktreeviewcolumn.h>
#include <gtk/gtk.h>
G_BEGIN_DECLS

View File

@@ -35,7 +35,7 @@
#ifndef __GNC_TREE_MODEL_H
#define __GNC_TREE_MODEL_H
#include <gtk/gtktreemodel.h>
#include <gtk/gtk.h>
G_BEGIN_DECLS

View File

@@ -34,8 +34,7 @@
#ifndef __GNC_TREE_VIEW_ACCOUNT_H
#define __GNC_TREE_VIEW_ACCOUNT_H
#include <gtk/gtktreemodel.h>
#include <gtk/gtktreeview.h>
#include <gtk/gtk.h>
#include "gnc-tree-view.h"
#include "gnc-ui-util.h"

View File

@@ -34,8 +34,7 @@
#ifndef __GNC_TREE_VIEW_COMMODITY_H
#define __GNC_TREE_VIEW_COMMODITY_H
#include <gtk/gtktreemodel.h>
#include <gtk/gtktreeview.h>
#include <gtk/gtk.h>
#include "gnc-tree-view.h"
#include "gnc-commodity.h"

View File

@@ -34,8 +34,7 @@
#ifndef __GNC_TREE_VIEW_PRICE_H
#define __GNC_TREE_VIEW_PRICE_H
#include <gtk/gtktreemodel.h>
#include <gtk/gtktreeview.h>
#include <gtk/gtk.h>
#include "gnc-tree-view.h"
#include "gnc-pricedb.h"

View File

@@ -28,8 +28,7 @@
#ifndef __GNC_TREE_VIEW_SX_LIST_H
#define __GNC_TREE_VIEW_SX_LIST_H
#include <gtk/gtktreemodel.h>
#include <gtk/gtktreeview.h>
#include <gtk/gtk.h>
#include "gnc-tree-view.h"
#include "SchedXaction.h"

View File

@@ -32,8 +32,7 @@
#ifndef __GNC_TREE_VIEW_H
#define __GNC_TREE_VIEW_H
#include <gtk/gtktreemodel.h>
#include <gtk/gtktreeview.h>
#include <gtk/gtk.h>
G_BEGIN_DECLS

View File

@@ -36,7 +36,7 @@
#include "Account.h"
#include "gnc-pricedb.h"
#include "guile-mappings.h"
#include <gtk/gtk.h> /* For GtkWidget */
#include <gtk/gtk.h>
/** Help Files ******************************************************/

View File

@@ -41,7 +41,7 @@
#ifndef __GNC_WINDOW_H
#define __GNC_WINDOW_H
#include <gtk/gtkwindow.h>
#include <gtk/gtk.h>
#include "gnc-plugin-page.h"
G_BEGIN_DECLS

View File

@@ -49,16 +49,11 @@ Plus some minor changes that have been annotated with 'CAS:'
#include <config.h>
#include <string.h>
#include "gnctreemodelsort.h" //CAS: header name changed
#include "gtk/gtktreesortable.h" //CAS: path changed
#include "gtk/gtktreestore.h" //CAS: path changed
#include "gnctreemodelsort.h"
#include <gtk/gtk.h>
#include "gtktreedatalist.h"
//#include "gtk/gtkintl.h" //CAS: header commented
#include "gtk/gtkprivate.h" //CAS: path changed
#include "gtk/gtktreednd.h" //CAS: path changed
//#include "gtk/gtkalias.h" //CAS: header commented
#include <glib/gi18n.h> //CAS: header added
#define P_(x) _(x) //CAS: macro added
#include <glib/gi18n.h>
#define P_(x) _(x)
typedef struct _SortElt SortElt;
typedef struct _SortLevel SortLevel;

View File

@@ -31,8 +31,7 @@ s/gtk_tree_model_sort/gnc_tree_model_sort/g
#ifndef __GNC_TREE_MODEL_SORT_H__
#define __GNC_TREE_MODEL_SORT_H__
#include <gtk/gtktreemodel.h>
#include <gtk/gtktreesortable.h>
#include <gtk/gtk.h>
G_BEGIN_DECLS

View File

@@ -25,7 +25,7 @@
#include <glib.h>
#include <glib-object.h>
#include "gtk/gtktreesortable.h" //CAS: changed path
#include <>gtk/gtk.h>
typedef struct _GtkTreeDataList GtkTreeDataList;
struct _GtkTreeDataList

View File

@@ -22,7 +22,7 @@
#include "config.h"
#include <gtk/gtkprintoperation.h>
#include <gtk/gtk.h>
#include "print-session.h"
#include "gnc-gconf-utils.h" /* for gnc_gconf_set_string() */

View File

@@ -34,7 +34,7 @@
/** @addtogroup Basic Session Functions
@{ */
#include <gtk/gtkprintoperation.h>
#include <gtk/gtk.h>
/**
* Retrieve the print settings from the GtkPrintOperation @a op and save them in

View File

@@ -34,7 +34,7 @@
#ifndef __GNC_PLUGIN_ACCOUNT_TREE_H
#define __GNC_PLUGIN_ACCOUNT_TREE_H
#include <gtk/gtkwindow.h>
#include <gtk/gtk.h>
#include "gnc-plugin.h"

View File

@@ -33,7 +33,7 @@
#ifndef __GNC_PLUGIN_BASIC_COMMANDS_H
#define __GNC_PLUGIN_BASIC_COMMANDS_H
#include <gtk/gtkwindow.h>
#include <gtk/gtk.h>
#include "gnc-plugin.h"

View File

@@ -27,7 +27,7 @@
#ifndef __GNC_PLUGIN_BUDGET_H
#define __GNC_PLUGIN_BUDGET_H
#include <gtk/gtkwindow.h>
#include <gtk/gtk.h>
#include "gnc-plugin.h"
#include "gnc-budget.h"

View File

@@ -35,7 +35,7 @@
#ifndef __GNC_PLUGIN_PAGE_ACCOUNT_TREE_H
#define __GNC_PLUGIN_PAGE_ACCOUNT_TREE_H
#include <gtk/gtkwindow.h>
#include <gtk/gtk.h>
#include "gnc-plugin-page.h"
#include "Account.h"

View File

@@ -30,7 +30,7 @@
#ifndef __GNC_PLUGIN_PAGE_BUDGET_H
#define __GNC_PLUGIN_PAGE_BUDGET_H
#include <gtk/gtkwindow.h>
#include <gtk/gtk.h>
#include "gnc-plugin-page.h"
#include "gnc-budget.h"

View File

@@ -35,7 +35,7 @@
#ifndef __GNC_PLUGIN_PAGE_REGISTER_H
#define __GNC_PLUGIN_PAGE_REGISTER_H
#include <gtk/gtkwindow.h>
#include <gtk/gtk.h>
#include "Account.h"
#include "gnc-ledger-display.h"

View File

@@ -33,7 +33,7 @@
#include "config.h"
#include <glib/gi18n.h>
#include <gtk/gtkwindow.h>
#include <gtk/gtk.h>
#include "SchedXaction.h"
#include "gnc-plugin-page.h"

View File

@@ -25,7 +25,7 @@
#define WINDOW_RECONCILE_H
#include "Account.h"
#include <gtk/gtk.h> /* For GtkWidget */
#include <gtk/gtk.h>
/** STRUCTS *********************************************************/

View File

@@ -23,7 +23,7 @@
#ifndef __GNC_PLUGIN_CSV_H
#define __GNC_PLUGIN_CSV_H
#include <gtk/gtkwindow.h>
#include <gtk/gtk.h>
#include "gnc-plugin.h"

View File

@@ -26,7 +26,7 @@
#define ACCOUNT_MATCHER_H
#include "Account.h"
#include <gtk/gtk.h> /* For GtkWidget */
#include <gtk/gtk.h>
/** Must be called with a string containing a unique identifier for the
account. If an account with a matching online_id kvp_frame is

View File

@@ -23,7 +23,7 @@
#ifndef __GNC_PLUGIN_LOG_REPLAY_H
#define __GNC_PLUGIN_LOG_REPLAY_H
#include <gtk/gtkwindow.h>
#include <gtk/gtk.h>
#include "gnc-plugin.h"

View File

@@ -23,7 +23,7 @@
#ifndef __GNC_PLUGIN_OFX_H
#define __GNC_PLUGIN_OFX_H
#include <gtk/gtkwindow.h>
#include <gtk/gtk.h>
#include "gnc-plugin.h"

View File

@@ -25,7 +25,7 @@
#define DIALOG_QIF_IMPORT_H
#include <libguile.h>
#include <gtk/gtk.h> /* For GtkWidget */
#include <gtk/gtk.h>
/* QIF Import Windows ***********************************************/

View File

@@ -24,7 +24,7 @@
#ifndef __GNC_PLUGIN_QIF_IMPORT_H
#define __GNC_PLUGIN_QIF_IMPORT_H
#include <gtk/gtkwindow.h>
#include <gtk/gtk.h>
#include "gnc-plugin.h"

View File

@@ -141,7 +141,7 @@
#include <gdk/gdk.h>
#include <glib.h>
#include <gtk/gtk.h> /* For GtkWidget */
#include <gtk/gtk.h>
typedef struct basic_cell BasicCell;

View File

@@ -24,7 +24,7 @@
#ifndef GNC_SCROLLED_WINDOW_H
#define GNC_SCROLLED_WINDOW_H
#include <gtk/gtkscrolledwindow.h>
#include <gtk/gtk.h>
G_BEGIN_DECLS

View File

@@ -34,7 +34,7 @@
#ifndef __GNC_PLUGIN_PAGE_REPORT_H
#define __GNC_PLUGIN_PAGE_REPORT_H
#include <gtk/gtkwindow.h>
#include <gtk/gtk.h>
#include "gnc-plugin.h"
G_BEGIN_DECLS

View File

@@ -23,7 +23,7 @@
#ifndef __GNC_PLUGIN_STYLESHEETS_H
#define __GNC_PLUGIN_STYLESHEETS_H
#include <gtk/gtkwindow.h>
#include <gtk/gtk.h>
#include "gnc-plugin.h"