From b3c16b8f526ffc91888ae46062c83e61d2a37a75 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Wed, 17 Sep 2008 01:55:41 +0000 Subject: [PATCH] (gtk) silence a compiler warning --- gtk/details.c | 1 - gtk/tr-prefs.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/gtk/details.c b/gtk/details.c index 2ac49f3a0..025eed3cc 100644 --- a/gtk/details.c +++ b/gtk/details.c @@ -1085,7 +1085,6 @@ options_page_new ( TrTorrent * gtor ) uint16_t maxConnectedPeers; int i, row; gboolean b; - GtkAdjustment *a; GtkWidget *t, *w, *tb; tr_torrent * tor = tr_torrent_handle (gtor); diff --git a/gtk/tr-prefs.c b/gtk/tr-prefs.c index 63958393d..7e3e19848 100644 --- a/gtk/tr-prefs.c +++ b/gtk/tr-prefs.c @@ -923,7 +923,7 @@ trackerPage( GObject * core ) w = hig_workarea_add_row( t, &row, s, w, NULL ); page->proxy_widgets = g_slist_append( page->proxy_widgets, w ); - w = new_spin_button( PREF_KEY_PROXY_PORT, core, 0, 65536, 1 ); + w = new_spin_button( PREF_KEY_PROXY_PORT, core, 0, 65535, 1 ); page->proxy_widgets = g_slist_append( page->proxy_widgets, w ); w = hig_workarea_add_row( t, &row, _( "Proxy _port:" ), w, NULL ); page->proxy_widgets = g_slist_append( page->proxy_widgets, w );