Mercurial > pidgin
changeset 7989:e8449d95a493
[gaim-migrate @ 8666]
this allows full use of the values oscar will let you set...
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sun, 04 Jan 2004 07:27:29 +0000 |
parents | d9e831876c28 |
children | 10c7cd1d4e17 |
files | plugins/idle.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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);