r21497 - gnucash/trunk/src/gnome-utils - Some small whitespace fixes and comment improvements.
Geert Janssens
gjanssens at code.gnucash.org
Fri Oct 28 08:26:39 EDT 2011
Author: gjanssens
Date: 2011-10-28 08:26:38 -0400 (Fri, 28 Oct 2011)
New Revision: 21497
Trac: http://svn.gnucash.org/trac/changeset/21497
Modified:
gnucash/trunk/src/gnome-utils/dialog-query-list.c
gnucash/trunk/src/gnome-utils/dialog-reset-warnings.c
Log:
Some small whitespace fixes and comment improvements.
Modified: gnucash/trunk/src/gnome-utils/dialog-query-list.c
===================================================================
--- gnucash/trunk/src/gnome-utils/dialog-query-list.c 2011-10-28 12:26:27 UTC (rev 21496)
+++ gnucash/trunk/src/gnome-utils/dialog-query-list.c 2011-10-28 12:26:38 UTC (rev 21497)
@@ -37,14 +37,14 @@
struct _DialogQueryList
{
- GtkWidget * dialog;
- GtkWidget * label;
- GtkWidget * qlist;
- GtkWidget * button_box;
- GNCDisplayListButton * buttons;
- gpointer user_data;
- GList * books;
- gint component_id;
+ GtkWidget * dialog;
+ GtkWidget * label;
+ GtkWidget * qlist;
+ GtkWidget * button_box;
+ GNCDisplayListButton * buttons;
+ gpointer user_data;
+ GList * books;
+ gint component_id;
};
static void
Modified: gnucash/trunk/src/gnome-utils/dialog-reset-warnings.c
===================================================================
--- gnucash/trunk/src/gnome-utils/dialog-reset-warnings.c 2011-10-28 12:26:27 UTC (rev 21496)
+++ gnucash/trunk/src/gnome-utils/dialog-reset-warnings.c 2011-10-28 12:26:38 UTC (rev 21497)
@@ -36,14 +36,14 @@
/* This static indicates the debugging module that this .o belongs to. */
static QofLogModule log_module = GNC_MOD_PREFS;
-#define GCONF_SECTION "dialogs/reset_warnings"
-#define DIALOG_RESET_WARNINGS_CM_CLASS "reset-warnings"
-#define GCONF_ENTRY_LIST "gconf_entries"
+#define GCONF_SECTION "dialogs/reset_warnings"
+#define DIALOG_RESET_WARNINGS_CM_CLASS "reset-warnings"
+#define GCONF_ENTRY_LIST "gconf_entries"
#define TIPS_STRING "tips"
typedef struct
{
- GtkWidget *dialog;
+ GtkWidget *dialog;
GtkWidget *perm_vbox_label;
GtkWidget *perm_vbox;
GtkWidget *temp_vbox_label;
@@ -57,11 +57,11 @@
void gnc_reset_warnings_unselect_all_cb (GtkButton *button, gpointer user_data);
void gnc_reset_warnings_response_cb (GtkDialog *dialog, gint response, gpointer user_data);
static GSList *gnc_reset_warnings_add_section (RWDialog *rw_dialog,
- const gchar *section, GtkWidget *box);
+ const gchar *section, GtkWidget *box);
static void gnc_reset_warnings_release_entries (GSList *entries);
static void gnc_reset_warnings_update_widgets (RWDialog *rw_dialog);
static void gnc_reset_warnings_gconf_changed (GConfClient *client, guint cnxn_id,
- GConfEntry *entry, gpointer user_data);
+ GConfEntry *entry, gpointer user_data);
/****************************************************
@@ -269,8 +269,8 @@
}
-/**************************************************************************
- * This is the call back function adds an entry to the correct dialog box.
+/***********************************************************************
+ * This call back function adds an entry to the correct dialog box.
*
* @internal
* @param rw_dialog, the data structure
@@ -325,7 +325,7 @@
/********************************************************************
- * This is the call back function adds the gconf section
+ * This call back function adds the gconf section
* to the dialog box.
*
* @internal
@@ -389,8 +389,9 @@
}
-/*************************************************************************
- * This is the call back function when warning gconf entries are changed.
+/***********************************************************************
+ * This call back function is triggered when warning gconf entries
+ * are changed.
*
* @internal
* @param The gconf client unused.
@@ -404,7 +405,6 @@
GConfEntry *entry,
gpointer user_data)
{
-
RWDialog *rw_dialog = g_object_get_data(G_OBJECT(user_data),"dialog-structure");
GtkWidget *box;
@@ -502,7 +502,6 @@
void
gnc_reset_warnings_dialog (GtkWindow *parent)
{
-
RWDialog *rw_dialog;
GtkWidget *dialog;
GtkBuilder *builder;
More information about the gnucash-changes
mailing list