summaryrefslogtreecommitdiff
path: root/src/trg-json-widgets.h
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-12-11 15:06:01 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-12-11 15:06:01 +0000
commit0d08a471f9ebfdfadded6c92abc700c706475644 (patch)
tree2c49e445ccca81f5af70244e89a15585757798d6 /src/trg-json-widgets.h
parent24195d0013f81933578afa14a44a10e4b75817dd (diff)
run GNU indent everything. not done this for a while because it was producing weird results. seems ok now.
Diffstat (limited to 'src/trg-json-widgets.h')
-rw-r--r--src/trg-json-widgets.h43
1 files changed, 28 insertions, 15 deletions
diff --git a/src/trg-json-widgets.h b/src/trg-json-widgets.h
index a82818b..2f53d1e 100644
--- a/src/trg-json-widgets.h
+++ b/src/trg-json-widgets.h
@@ -26,7 +26,7 @@
typedef struct {
GtkWidget *widget;
gchar *key;
- void (*saveFunc)(GtkWidget *widget, JsonObject *obj, gchar *key);
+ void (*saveFunc) (GtkWidget * widget, JsonObject * obj, gchar * key);
} trg_json_widget_desc;
typedef enum {
@@ -36,20 +36,33 @@ typedef enum {
void toggle_active_arg_is_sensitive(GtkToggleButton * b, gpointer data);
-GtkWidget *trg_json_widget_check_new(GList **wl, JsonObject *obj, const gchar *key, const gchar *label, GtkWidget *toggleDep);
-GtkWidget *trg_json_widget_entry_new(GList **wl, JsonObject *obj, const gchar *key, GtkWidget *toggleDep);
-GtkWidget *trg_json_widget_spin_new_int(GList **wl, JsonObject *obj, const gchar *key, GtkWidget *toggleDep,
- gint min, gint max, gint step);
-GtkWidget *trg_json_widget_spin_new_double(GList **wl, JsonObject *obj, const gchar *key, GtkWidget *toggleDep,
- gint min, gint max, gdouble step);
+GtkWidget *trg_json_widget_check_new(GList ** wl, JsonObject * obj,
+ const gchar * key,
+ const gchar * label,
+ GtkWidget * toggleDep);
+GtkWidget *trg_json_widget_entry_new(GList ** wl, JsonObject * obj,
+ const gchar * key,
+ GtkWidget * toggleDep);
+GtkWidget *trg_json_widget_spin_new_int(GList ** wl, JsonObject * obj,
+ const gchar * key,
+ GtkWidget * toggleDep, gint min,
+ gint max, gint step);
+GtkWidget *trg_json_widget_spin_new_double(GList ** wl, JsonObject * obj,
+ const gchar * key,
+ GtkWidget * toggleDep, gint min,
+ gint max, gdouble step);
-void trg_json_widget_check_save(GtkWidget *widget, JsonObject *obj, gchar *key);
-void trg_json_widget_entry_save(GtkWidget *widget, JsonObject *obj, gchar *key);
-void trg_json_widget_spin_save_int(GtkWidget *widget, JsonObject *obj, gchar *key);
-void trg_json_widget_spin_save_double(GtkWidget *widget, JsonObject *obj, gchar *key);
+void trg_json_widget_check_save(GtkWidget * widget, JsonObject * obj,
+ gchar * key);
+void trg_json_widget_entry_save(GtkWidget * widget, JsonObject * obj,
+ gchar * key);
+void trg_json_widget_spin_save_int(GtkWidget * widget, JsonObject * obj,
+ gchar * key);
+void trg_json_widget_spin_save_double(GtkWidget * widget, JsonObject * obj,
+ gchar * key);
-void trg_json_widget_desc_free(trg_json_widget_desc *wd);
-void trg_json_widget_desc_list_free(GList *list);
-void trg_json_widgets_save(GList *list, JsonObject *out);
+void trg_json_widget_desc_free(trg_json_widget_desc * wd);
+void trg_json_widget_desc_list_free(GList * list);
+void trg_json_widgets_save(GList * list, JsonObject * out);
-#endif /* TRG_JSON_WIDGETS_H_ */
+#endif /* TRG_JSON_WIDGETS_H_ */