gcalctool r2263 - trunk/gcalctool



Author: rancell
Date: Sun Oct 12 07:18:52 2008
New Revision: 2263
URL: http://svn.gnome.org/viewvc/gcalctool?rev=2263&view=rev

Log:
coding style

Modified:
   trunk/gcalctool/gtk.c

Modified: trunk/gcalctool/gtk.c
==============================================================================
--- trunk/gcalctool/gtk.c	(original)
+++ trunk/gcalctool/gtk.c	Sun Oct 12 07:18:52 2008
@@ -65,15 +65,15 @@
 
 /* The names of each field in the dialogs for the financial functions */
 static char *finc_dialog_fields[FINC_NUM_DIALOGS][4] = {
-    {"ctrm_pint", "ctrm_fv", "ctrm_pv", NULL},
-    {"ddb_cost", "ddb_life", "ddb_period", NULL},
-    {"fv_pmt", "fv_pint", "fv_n", NULL},
-    {"pmt_prin", "pmt_pint", "pmt_n", NULL},
-    {"pv_pmt", "pv_pint", "pv_n", NULL},
-    {"rate_fv", "rate_pv", "rate_n", NULL},
-    {"sln_cost", "sln_salvage", "sln_life", NULL},
-    {"syd_cost", "syd_salvage", "syd_life", "syd_period"},
-    {"term_pmt", "term_fv", "term_pint", NULL},
+    {"ctrm_pint", "ctrm_fv",     "ctrm_pv",    NULL},
+    {"ddb_cost",  "ddb_life",    "ddb_period", NULL},
+    {"fv_pmt",    "fv_pint",     "fv_n",       NULL},
+    {"pmt_prin",  "pmt_pint",    "pmt_n",      NULL},
+    {"pv_pmt",    "pv_pint",     "pv_n",       NULL},
+    {"rate_fv",   "rate_pv",     "rate_n",     NULL},
+    {"sln_cost",  "sln_salvage", "sln_life",   NULL},
+    {"syd_cost",  "syd_salvage", "syd_life",   "syd_period"},
+    {"term_pmt",  "term_fv",     "term_pint",  NULL},
 };
 
 /*  This table shows the keyboard values that are currently being used:
@@ -1371,7 +1371,7 @@
 
 
 static void
-finc_response_cb(GtkWidget *widget, gint response_id, void* dialog_pointer)
+finc_response_cb(GtkWidget *widget, gint response_id, void *dialog_pointer)
 {
     int dialog = GPOINTER_TO_INT (dialog_pointer);
     int i;
@@ -1398,7 +1398,8 @@
 
 
 static void
-setup_finc_dialogs(void) {
+setup_finc_dialogs(void)
+{
     GtkWidget *button;
     X->financial = glade_xml_new(PACKAGE_GLADE_DIR "/financial.glade", NULL, 
                                  NULL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]