diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2011-02-18 00:49:08 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2011-02-18 00:49:08 +0000 |
commit | 8aacf43b3b4f21247a63b8301c952c6a8c98585e (patch) | |
tree | d2dc275b7d2672390ab9eeb1adffaf5953a4981d /src/trg-json-widgets.c | |
parent | bfff941cb7fdb428de57971831e39e3cf660112b (diff) |
adding trackers now seems to work. change all tabs to whitespace.
Diffstat (limited to 'src/trg-json-widgets.c')
-rw-r--r-- | src/trg-json-widgets.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/trg-json-widgets.c b/src/trg-json-widgets.c index bcff5e9..5573602 100644 --- a/src/trg-json-widgets.c +++ b/src/trg-json-widgets.c @@ -25,7 +25,7 @@ void toggle_active_arg_is_sensitive(GtkToggleButton * b, gpointer data) { gtk_widget_set_sensitive(GTK_WIDGET(data), - gtk_toggle_button_get_active(b)); + gtk_toggle_button_get_active(b)); } void gtk_spin_button_json_int_out(GtkSpinButton * spin, JsonObject * out) @@ -42,11 +42,11 @@ void gtk_combo_box_json_string_output(GtkComboBox * c, JsonObject * out) } void gtk_spin_button_json_double_out(GtkSpinButton * spin, - JsonObject * out) + JsonObject * out) { gchar *key = g_object_get_data(G_OBJECT(spin), JSON_OBJECT_KEY); json_object_set_double_member(out, key, - gtk_spin_button_get_value(spin)); + gtk_spin_button_get_value(spin)); } void gtk_entry_json_output(GtkEntry * e, JsonObject * out) @@ -58,11 +58,11 @@ void gtk_entry_json_output(GtkEntry * e, JsonObject * out) void widget_set_json_key(GtkWidget * w, gchar * key) { g_object_set_data_full(G_OBJECT(w), JSON_OBJECT_KEY, - g_strdup(key), g_free); + g_strdup(key), g_free); } gboolean gtk_toggle_button_json_out(GtkToggleButton * button, - JsonObject * out) + JsonObject * out) { gboolean active = gtk_toggle_button_get_active(button); gchar *key = g_object_get_data(G_OBJECT(button), JSON_OBJECT_KEY); |