mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <gtk/gtkcellrenderertoggle.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "gnc-tree-model-selection.h"
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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 ******************************************************/
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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() */
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#define WINDOW_RECONCILE_H
|
||||
|
||||
#include "Account.h"
|
||||
#include <gtk/gtk.h> /* For GtkWidget */
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
|
||||
/** STRUCTS *********************************************************/
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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 ***********************************************/
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user