[Gnucash-changes] r12002 - gnucash/trunk - Make a function static. Remove extraneous printf.

David Hampton hampton at cvs.gnucash.org
Sun Nov 20 23:23:14 EST 2005


Author: hampton
Date: 2005-11-20 23:23:14 -0500 (Sun, 20 Nov 2005)
New Revision: 12002
Trac: http://svn.gnucash.org/trac/changeset/12002

Modified:
   gnucash/trunk/ChangeLog
   gnucash/trunk/src/gnome-utils/dialog-reset-warnings.c
Log:
Make a function static. Remove extraneous printf.


Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog	2005-11-21 04:16:17 UTC (rev 12001)
+++ gnucash/trunk/ChangeLog	2005-11-21 04:23:14 UTC (rev 12002)
@@ -1,5 +1,8 @@
 2005-11-20  David Hampton  <hampton at employees.org>
 
+	*src/gnome-utils/dialog-reset-warnings.c: Make a function
+	static. Remove extraneous printf.
+
 	*/src/gnome-utils/preferences.glade: Fix a typo.
 
 	* src/report/report-gnome/window-report.c: Use a GtkMessageDialog

Modified: gnucash/trunk/src/gnome-utils/dialog-reset-warnings.c
===================================================================
--- gnucash/trunk/src/gnome-utils/dialog-reset-warnings.c	2005-11-21 04:16:17 UTC (rev 12001)
+++ gnucash/trunk/src/gnome-utils/dialog-reset-warnings.c	2005-11-21 04:23:14 UTC (rev 12002)
@@ -250,9 +250,7 @@
 }
 
 
-void
- gnc_reset_warnings_add_section (const gchar *section, GtkWidget *box);
-void
+static void
 gnc_reset_warnings_add_section (const gchar *section, GtkWidget *box)
 {
   GSList *entries, *tmp;
@@ -355,7 +353,6 @@
   DEBUG("Opening dialog-reset-warnings.glade:");
   xml = gnc_glade_xml_new("dialog-reset-warnings.glade", "Reset Warnings");
   dialog = glade_xml_get_widget(xml, "Reset Warnings");
-  printf("autoconnect\n");
   glade_xml_signal_autoconnect_full(xml, gnc_glade_autoconnect_full_func,
 				    dialog);
 



More information about the gnucash-changes mailing list