r20196 - gnucash/trunk/src - Remove pointless header RecnWindow.h - nothing gtk-independent here anyway.

Christian Stimming cstim at code.gnucash.org
Sat Jan 29 16:17:59 EST 2011


Author: cstim
Date: 2011-01-29 16:17:59 -0500 (Sat, 29 Jan 2011)
New Revision: 20196
Trac: http://svn.gnucash.org/trac/changeset/20196

Removed:
   gnucash/trunk/src/RecnWindow.h
Modified:
   gnucash/trunk/src/Makefile.am
   gnucash/trunk/src/gnome/window-reconcile.h
   gnucash/trunk/src/import-export/aqbanking/gnc-ab-utils.c
Log:
Remove pointless header RecnWindow.h - nothing gtk-independent here anyway.

Modified: gnucash/trunk/src/Makefile.am
===================================================================
--- gnucash/trunk/src/Makefile.am	2011-01-29 21:13:21 UTC (rev 20195)
+++ gnucash/trunk/src/Makefile.am	2011-01-29 21:17:59 UTC (rev 20196)
@@ -37,7 +37,6 @@
 endif
 
 noinst_HEADERS = \
-  RecnWindow.h \
   swig-runtime.h \
   gnc-ui.h
 

Deleted: gnucash/trunk/src/RecnWindow.h
===================================================================
--- gnucash/trunk/src/RecnWindow.h	2011-01-29 21:13:21 UTC (rev 20195)
+++ gnucash/trunk/src/RecnWindow.h	2011-01-29 21:17:59 UTC (rev 20196)
@@ -1,69 +0,0 @@
-/********************************************************************\
- * RecnWindow.h -- the reconcile window                             *
- * Copyright (C) 1997 Robin D. Clark                                *
- * Copyright (C) 1998-2000 Linas Vepstas                            *
- * Copyright (C) 2002 Christian Stimming                            *
- *                                                                  *
- * This program is free software; you can redistribute it and/or    *
- * modify it under the terms of the GNU General Public License as   *
- * published by the Free Software Foundation; either version 2 of   *
- * the License, or (at your option) any later version.              *
- *                                                                  *
- * This program is distributed in the hope that it will be useful,  *
- * but WITHOUT ANY WARRANTY; without even the implied warranty of   *
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    *
- * GNU General Public License for more details.                     *
- *                                                                  *
- * You should have received a copy of the GNU General Public License*
- * along with this program; if not, write to the Free Software      *
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.        *
- *                                                                  *
- *   Author: Rob Clark                                              *
- * Internet: rclark at cs.hmc.edu                                      *
- *  Address: 609 8th Street                                         *
- *           Huntington Beach, CA 92648-4632                        *
-\********************************************************************/
-
-#ifndef RECONCILE_H
-#define RECONCILE_H
-
-#include "Account.h"
-#include <gtk/gtk.h> /* For GtkWidget */
-
-
-/** STRUCTS *********************************************************/
-typedef struct _RecnWindow RecnWindow;
-
-
-/** PROTOTYPES ******************************************************/
-
-/********************************************************************\
- * recnWindow                                                       *
- *   opens up the window to reconcile an account                    *
- *                                                                  *
- * Args:   parent  - the parent of this window                      *
- *         account - the account to reconcile                       *
- *
- * Return: recnData - the instance of this RecnWindow, or NULL if the
- * user pressed Cancel in the initial date query.
-\********************************************************************/
-RecnWindow *recnWindow (GtkWidget *parent, Account *account);
-
-/********************************************************************\
- * recnWindowWithBalance
- *
- *   Opens up the window to reconcile an account, but with ending
- *   balance and statement date already given.
- *
- * Args:   parent         - The parent widget of the new window
- *         account        - The account to reconcile
- *         new_ending     - The amount for ending balance
- *         statement_date - The date of the statement
- * Return: recnData - the instance of this RecnWindow
-\********************************************************************/
-RecnWindow *recnWindowWithBalance (GtkWidget *parent,
-                                   Account *account,
-                                   gnc_numeric new_ending,
-                                   time_t statement_date);
-
-#endif

Modified: gnucash/trunk/src/gnome/window-reconcile.h
===================================================================
--- gnucash/trunk/src/gnome/window-reconcile.h	2011-01-29 21:13:21 UTC (rev 20195)
+++ gnucash/trunk/src/gnome/window-reconcile.h	2011-01-29 21:17:59 UTC (rev 20196)
@@ -24,8 +24,45 @@
 #ifndef WINDOW_RECONCILE_H
 #define WINDOW_RECONCILE_H
 
-#include "RecnWindow.h"
+#include "Account.h"
+#include <gtk/gtk.h> /* For GtkWidget */
 
+
+/** STRUCTS *********************************************************/
+typedef struct _RecnWindow RecnWindow;
+
+
+/** PROTOTYPES ******************************************************/
+
+/********************************************************************\
+ * recnWindow                                                       *
+ *   opens up the window to reconcile an account                    *
+ *                                                                  *
+ * Args:   parent  - the parent of this window                      *
+ *         account - the account to reconcile                       *
+ *
+ * Return: recnData - the instance of this RecnWindow, or NULL if the
+ * user pressed Cancel in the initial date query.
+\********************************************************************/
+RecnWindow *recnWindow (GtkWidget *parent, Account *account);
+
+/********************************************************************\
+ * recnWindowWithBalance
+ *
+ *   Opens up the window to reconcile an account, but with ending
+ *   balance and statement date already given.
+ *
+ * Args:   parent         - The parent widget of the new window
+ *         account        - The account to reconcile
+ *         new_ending     - The amount for ending balance
+ *         statement_date - The date of the statement
+ * Return: recnData - the instance of this RecnWindow
+\********************************************************************/
+RecnWindow *recnWindowWithBalance (GtkWidget *parent,
+                                   Account *account,
+                                   gnc_numeric new_ending,
+                                   time_t statement_date);
+
 void gnc_ui_reconcile_window_raise(RecnWindow * recnData);
 
 #endif

Modified: gnucash/trunk/src/import-export/aqbanking/gnc-ab-utils.c
===================================================================
--- gnucash/trunk/src/import-export/aqbanking/gnc-ab-utils.c	2011-01-29 21:13:21 UTC (rev 20195)
+++ gnucash/trunk/src/import-export/aqbanking/gnc-ab-utils.c	2011-01-29 21:17:59 UTC (rev 20196)
@@ -33,7 +33,7 @@
 #include <gwenhywfar/gwenhywfar.h>
 #include <aqbanking/banking.h>
 
-#include "RecnWindow.h"
+#include "window-reconcile.h"
 #include "Transaction.h"
 #include "dialog-ab-trans.h"
 #include "gnc-ab-kvp.h"



More information about the gnucash-changes mailing list