summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar si <snaunton@gmail.com>2018-04-13 05:57:43 +1000
committerGravatar Patrick Griffis <tingping@tingping.se>2018-04-12 16:01:03 -0400
commit8364ef2abc4715bf320d431554811d153be3e053 (patch)
treefb6461e519003162b8d5beaafa373e8be1d76d9b
parentb839a683fab1b167c2bb49597430f6038d8c726d (diff)
seed ratio 1 digit
-rw-r--r--src/trg-json-widgets.c5
1 files changed, 0 insertions, 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;