diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2011-02-14 20:15:52 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2011-02-14 20:15:52 +0000 |
commit | c10b672d05b8b6b68bbc1ccb92da8b5caa451c68 (patch) | |
tree | c7e427e2b4502b1b05872d2693b5cb1ca82347c9 /src/trg-torrent-props-dialog.c | |
parent | af90b3a34078f1ba5eb1c042ae9f8be1b7499aac (diff) |
cache-size-mb was implemented 2.10, so check if it's present (will support >= 2.0)
Diffstat (limited to 'src/trg-torrent-props-dialog.c')
-rw-r--r-- | src/trg-torrent-props-dialog.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/trg-torrent-props-dialog.c b/src/trg-torrent-props-dialog.c index 477b15f..827e643 100644 --- a/src/trg-torrent-props-dialog.c +++ b/src/trg-torrent-props-dialog.c @@ -137,12 +137,10 @@ trg_torrent_props_response_cb(GtkDialog * dlg, gint res_id, (priv->seedRatioLimit), args); json_object_set_int_member(args, FIELD_SEED_RATIO_MODE, gtk_combo_box_get_active(GTK_COMBO_BOX - (priv-> - seedRatioMode))); + (priv->seedRatioMode))); json_object_set_int_member(args, FIELD_BANDWIDTH_PRIORITY, gtk_combo_box_get_active(GTK_COMBO_BOX - (priv-> - bandwidthPriorityCombo)) + (priv->bandwidthPriorityCombo)) + 1); gtk_spin_button_json_int_out(GTK_SPIN_BUTTON |