summaryrefslogtreecommitdiff
path: root/src/trg-json-widgets.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/trg-json-widgets.h')
-rw-r--r--src/trg-json-widgets.h22
1 files changed, 13 insertions, 9 deletions
diff --git a/src/trg-json-widgets.h b/src/trg-json-widgets.h
index 3dafdfd..7eefe58 100644
--- a/src/trg-json-widgets.h
+++ b/src/trg-json-widgets.h
@@ -26,26 +26,30 @@
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;
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);
+ const gchar * key,
+ const gchar * label,
+ GtkWidget * toggleDep);
GtkWidget *trg_json_widget_entry_new(GList ** wl, JsonObject * obj,
- const gchar * key, GtkWidget * toggleDep);
+ const gchar * key,
+ GtkWidget * toggleDep);
GtkWidget *trg_json_widget_spin_new(GList ** wl, JsonObject * obj,
- const gchar * key, GtkWidget * toggleDep, gdouble min, gdouble max,
- gdouble step);
+ const gchar * key,
+ GtkWidget * toggleDep, gdouble min,
+ gdouble max, gdouble step);
void trg_json_widget_check_save(GtkWidget * widget, JsonObject * obj,
- gchar * key);
+ gchar * key);
void trg_json_widget_entry_save(GtkWidget * widget, JsonObject * obj,
- gchar * key);
+ gchar * key);
void trg_json_widget_spin_save_int(GtkWidget * widget, JsonObject * obj,
- gchar * key);
+ gchar * key);
void trg_json_widget_spin_save_double(GtkWidget * widget, JsonObject * obj,
- gchar * key);
+ gchar * key);
void trg_json_widget_desc_free(trg_json_widget_desc * wd);
void trg_json_widget_desc_list_free(GList * list);