From 7bc8fe632f29a875659f223ad1e9aa035c56f46c Mon Sep 17 00:00:00 2001 From: Alan Fitton Date: Wed, 30 Nov 2011 18:54:29 +0000 Subject: add some comments at the top of some files, also add a timeout of 20 seconds for curl requests --- src/trg-preferences-dialog.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/trg-preferences-dialog.c') diff --git a/src/trg-preferences-dialog.c b/src/trg-preferences-dialog.c index cd92688..8a4c810 100644 --- a/src/trg-preferences-dialog.c +++ b/src/trg-preferences-dialog.c @@ -35,6 +35,13 @@ #include "trg-prefs.h" #include "util.h" +/* UI frontend to modify configurables stored in TrgConf. + * To avoid lots of repetitive code, use our own functions for creating widgets + * which also create a trg_pref_widget_desc structure and add it to a list. + * This contains details of the config key, config flags etc, and a function + * pointer for a save/display function. These are all called on save/load. + */ + #define TRG_PREFERENCES_DIALOG_GET_PRIVATE(object) \ (G_TYPE_INSTANCE_GET_PRIVATE ((object), TRG_TYPE_PREFERENCES_DIALOG, TrgPreferencesDialogPrivate)) -- cgit v1.2.3