2011-10-07 [colin] 3.7.10cvs21
[claws.git] / src / prefs_logging.c
index 7f50d2a43cae5b388759253c628bd228fa42a6df..e22d659a93a89ac275c0844c4845aceeeb67501c 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2007 Tristan Chabredier <wwp@claws-mail.org> and 
+ * Copyright (C) 1999-2011 Tristan Chabredier <wwp@claws-mail.org> and 
  * the Claws Mail team
  *
  * This program is free software; you can redistribute it and/or modify
@@ -97,14 +97,14 @@ static void prefs_logging_create_widget(PrefsPage *_page, GtkWindow *window,
        GtkWidget *hbox_clip_network_log;
        GtkWidget *checkbtn_clip_network_log;
        GtkWidget *spinbtn_network_log_length;
-       GtkObject *spinbtn_network_log_length_adj;
+       GtkAdjustment *spinbtn_network_log_length_adj;
        GtkWidget *hbox_checkbtn;
 #ifndef G_OS_WIN32
        GtkWidget *vbox1_filtering_log;
        GtkWidget *hbox_clip_filtering_log;
        GtkWidget *checkbtn_clip_filtering_log;
        GtkWidget *spinbtn_filtering_log_length;
-       GtkObject *spinbtn_filtering_log_length_adj;
+       GtkAdjustment *spinbtn_filtering_log_length_adj;
        GtkWidget *hbox_filtering_log;
        GtkWidget *checkbtn_filtering_log;
        GtkWidget *frame_filtering_log;
@@ -146,7 +146,7 @@ static void prefs_logging_create_widget(PrefsPage *_page, GtkWindow *window,
        PACK_CHECK_BUTTON (hbox_clip_network_log, checkbtn_clip_network_log,
                           _("Restrict the log window to"));
        
-       spinbtn_network_log_length_adj = gtk_adjustment_new (500, 0, G_MAXINT, 1, 10, 10);
+       spinbtn_network_log_length_adj = gtk_adjustment_new (500, 0, G_MAXINT, 1, 10, 0);
        spinbtn_network_log_length = gtk_spin_button_new
                (GTK_ADJUSTMENT (spinbtn_network_log_length_adj), 1, 0);
        gtk_widget_show (spinbtn_network_log_length);
@@ -253,7 +253,7 @@ static void prefs_logging_create_widget(PrefsPage *_page, GtkWindow *window,
        PACK_CHECK_BUTTON (hbox_clip_filtering_log, checkbtn_clip_filtering_log,
                           _("Restrict the log window to"));
        
-       spinbtn_filtering_log_length_adj = gtk_adjustment_new (500, 0, G_MAXINT, 1, 10, 10);
+       spinbtn_filtering_log_length_adj = gtk_adjustment_new (500, 0, G_MAXINT, 1, 10, 0);
        spinbtn_filtering_log_length = gtk_spin_button_new
                (GTK_ADJUSTMENT (spinbtn_filtering_log_length_adj), 1, 0);
        gtk_widget_show (spinbtn_filtering_log_length);