From 8364ef2abc4715bf320d431554811d153be3e053 Mon Sep 17 00:00:00 2001 From: si Date: Fri, 13 Apr 2018 05:57:43 +1000 Subject: seed ratio 1 digit --- src/trg-json-widgets.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/trg-json-widgets.c b/src/trg-json-widgets.c index 7815a38..99ccc44 100644 --- a/src/trg-json-widgets.c +++ b/src/trg-json-widgets.c @@ -28,8 +28,6 @@ #include "json.h" #include "util.h" -#define TRG_JSON_WIDGET_SPIN_DOUBLE_DIGITS 2 - /* Functions for creating widgets that load/save their state from/to a JSON * object. This is used by the torrent properties and remote settings dialogs. * The pattern here is farily similar to that used in local configuration, @@ -163,9 +161,6 @@ GtkWidget *trg_json_widget_spin_double_new(GList ** wl, JsonObject * obj, { GtkWidget *w = gtk_spin_button_new_with_range(min, max, step); - gtk_spin_button_set_digits(GTK_SPIN_BUTTON(w), - TRG_JSON_WIDGET_SPIN_DOUBLE_DIGITS); - trg_json_widget_desc *wd = g_new0(trg_json_widget_desc, 1); wd->saveFunc = trg_json_widget_spin_double_save; -- cgit v1.2.3