# HG changeset patch # User Nathan Walp # Date 1073201249 0 # Node ID e8449d95a4939e4ed0798eb5f20a1ee6698ba985 # Parent d9e831876c285f5d5809df5bcf5eecf347a3a923 [gaim-migrate @ 8666] this allows full use of the values oscar will let you set... committer: Tailor Script diff -r d9e831876c28 -r e8449d95a493 plugins/idle.c --- a/plugins/idle.c Sun Jan 04 06:59:09 2004 +0000 +++ b/plugins/idle.c Sun Jan 04 07:27:29 2004 +0000 @@ -18,7 +18,7 @@ static void set_idle(GtkWidget *button, GtkWidget *spinner) { time_t t; - int tm = CLAMP(gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON(spinner)), 0, G_MAXSHORT); + int tm = CLAMP(gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON(spinner)), 0, G_MAXUSHORT); GaimAccount *account; if (!gc) @@ -83,7 +83,7 @@ label = gtk_label_new(_("idle for")); gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 5); - adj = (GtkAdjustment *)gtk_adjustment_new(10, 0, G_MAXINT, 1, 0, 0); + adj = (GtkAdjustment *)gtk_adjustment_new(10, 0, G_MAXUSHORT, 1, 0, 0); spinner = gtk_spin_button_new(adj, 0, 0); gtk_box_pack_start(GTK_BOX(hbox), spinner, TRUE, TRUE, 0);