diff options
-rw-r--r-- | ChangeLog | 11 | ||||
-rw-r--r-- | src/editldap.c | 6 | ||||
-rw-r--r-- | src/prefs_account_dialog.c | 2 | ||||
-rw-r--r-- | src/prefs_common_dialog.c | 18 | ||||
-rw-r--r-- | src/prefs_filter_edit.c | 2 |
5 files changed, 24 insertions, 15 deletions
@@ -1,4 +1,13 @@ -2010-05-20 +2010-05-21 + + * src/prefs_common_dialog.c + src/prefs_filter_edit.c + src/prefs_account_dialog.c + src/editldap.c: removed warnings 'GtkSpinButton: setting an + adjustment with non-zero page size is deprecated'. + The last value of gtk_adjustment_new() must be 0 for GtkSpinButton. + +2010-05-21 * libsylph/socket.c: sock_kill_process(): prevent redundant error messages when waitpid() is interrupted by EINTR. diff --git a/src/editldap.c b/src/editldap.c index 924e8d3a..ebb7a250 100644 --- a/src/editldap.c +++ b/src/editldap.c @@ -327,7 +327,7 @@ void addressbook_edit_ldap_page_basic( gint pageNum, gchar *pageLbl ) { gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); hbox_spin = gtk_hbox_new (FALSE, 8); - spinbtn_port_adj = gtk_adjustment_new (389, 1, 65535, 100, 1000, 1000); + spinbtn_port_adj = gtk_adjustment_new (389, 1, 65535, 100, 1000, 0); spinbtn_port = gtk_spin_button_new(GTK_ADJUSTMENT (spinbtn_port_adj), 1, 0); gtk_box_pack_start (GTK_BOX (hbox_spin), spinbtn_port, FALSE, FALSE, 0); gtk_widget_set_size_request (spinbtn_port, 64, -1); @@ -432,7 +432,7 @@ void addressbook_edit_ldap_page_extended( gint pageNum, gchar *pageLbl ) { gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); hbox_spin = gtk_hbox_new (FALSE, 8); - spinbtn_timeout_adj = gtk_adjustment_new (0, 0, 300, 1, 10, 10); + spinbtn_timeout_adj = gtk_adjustment_new (0, 0, 300, 1, 10, 0); spinbtn_timeout = gtk_spin_button_new(GTK_ADJUSTMENT (spinbtn_timeout_adj), 1, 0); gtk_box_pack_start (GTK_BOX (hbox_spin), spinbtn_timeout, FALSE, FALSE, 0); gtk_widget_set_size_request (spinbtn_timeout, 64, -1); @@ -446,7 +446,7 @@ void addressbook_edit_ldap_page_extended( gint pageNum, gchar *pageLbl ) { gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); hbox_spin = gtk_hbox_new (FALSE, 8); - spinbtn_maxentry_adj = gtk_adjustment_new (0, 0, 500, 1, 10, 10); + spinbtn_maxentry_adj = gtk_adjustment_new (0, 0, 500, 1, 10, 0); spinbtn_maxentry = gtk_spin_button_new(GTK_ADJUSTMENT (spinbtn_maxentry_adj), 1, 0); gtk_box_pack_start (GTK_BOX (hbox_spin), spinbtn_maxentry, FALSE, FALSE, 0); gtk_widget_set_size_request (spinbtn_maxentry, 64, -1); diff --git a/src/prefs_account_dialog.c b/src/prefs_account_dialog.c index 6df3b1ed..a9d9dac1 100644 --- a/src/prefs_account_dialog.c +++ b/src/prefs_account_dialog.c @@ -1016,7 +1016,7 @@ static void prefs_account_receive_create(void) gtk_label_set_justify (GTK_LABEL (maxarticle_label), GTK_JUSTIFY_LEFT); maxarticle_spinbtn_adj = - gtk_adjustment_new (300, 0, 10000, 10, 100, 100); + gtk_adjustment_new (300, 0, 10000, 10, 100, 0); maxarticle_spinbtn = gtk_spin_button_new (GTK_ADJUSTMENT (maxarticle_spinbtn_adj), 10, 0); gtk_widget_show (maxarticle_spinbtn); diff --git a/src/prefs_common_dialog.c b/src/prefs_common_dialog.c index efe5d66a..9ab11b4c 100644 --- a/src/prefs_common_dialog.c +++ b/src/prefs_common_dialog.c @@ -819,7 +819,7 @@ static void prefs_receive_create(void) gtk_widget_show (label_autochk1); gtk_box_pack_start (GTK_BOX (hbox_autochk), label_autochk1, FALSE, FALSE, 0); - spinbtn_autochk_adj = gtk_adjustment_new (5, 1, 100, 1, 10, 10); + spinbtn_autochk_adj = gtk_adjustment_new (5, 1, 100, 1, 10, 0); spinbtn_autochk = gtk_spin_button_new (GTK_ADJUSTMENT (spinbtn_autochk_adj), 1, 0); gtk_widget_show (spinbtn_autochk); @@ -1210,7 +1210,7 @@ static void prefs_compose_create(void) gtk_widget_show (label_undolevel); gtk_box_pack_start (GTK_BOX (hbox3), label_undolevel, FALSE, FALSE, 0); - spinbtn_undolevel_adj = gtk_adjustment_new (50, 0, 100, 1, 10, 10); + spinbtn_undolevel_adj = gtk_adjustment_new (50, 0, 100, 1, 10, 0); spinbtn_undolevel = gtk_spin_button_new (GTK_ADJUSTMENT (spinbtn_undolevel_adj), 1, 0); gtk_widget_show (spinbtn_undolevel); @@ -1230,7 +1230,7 @@ static void prefs_compose_create(void) gtk_widget_show (label_linewrap); gtk_box_pack_start (GTK_BOX (hbox3), label_linewrap, FALSE, FALSE, 0); - spinbtn_linewrap_adj = gtk_adjustment_new (72, 20, 1024, 1, 10, 10); + spinbtn_linewrap_adj = gtk_adjustment_new (72, 20, 1024, 1, 10, 0); spinbtn_linewrap = gtk_spin_button_new (GTK_ADJUSTMENT (spinbtn_linewrap_adj), 1, 0); gtk_widget_show (spinbtn_linewrap); @@ -1270,7 +1270,7 @@ static void prefs_compose_create(void) gtk_box_pack_start (GTK_BOX (hbox_autosave), label_autosave1, FALSE, FALSE, 0); - spinbtn_autosave_adj = gtk_adjustment_new (5, 1, 100, 1, 10, 10); + spinbtn_autosave_adj = gtk_adjustment_new (5, 1, 100, 1, 10, 0); spinbtn_autosave = gtk_spin_button_new (GTK_ADJUSTMENT (spinbtn_autosave_adj), 1, 0); gtk_widget_show (spinbtn_autosave); @@ -1600,7 +1600,7 @@ static void prefs_display_create(void) gtk_widget_show (label_ng_abbrev); gtk_box_pack_start (GTK_BOX (hbox1), label_ng_abbrev, FALSE, FALSE, 0); - spinbtn_ng_abbrev_len_adj = gtk_adjustment_new (16, 0, 999, 1, 10, 10); + spinbtn_ng_abbrev_len_adj = gtk_adjustment_new (16, 0, 999, 1, 10, 0); spinbtn_ng_abbrev_len = gtk_spin_button_new (GTK_ADJUSTMENT (spinbtn_ng_abbrev_len_adj), 1, 0); gtk_widget_show (spinbtn_ng_abbrev_len); @@ -1840,7 +1840,7 @@ static GtkWidget *prefs_message_create(void) gtk_box_pack_start (GTK_BOX (hbox_linespc), label_linespc, FALSE, FALSE, 0); - spinbtn_linespc_adj = gtk_adjustment_new (2, 0, 16, 1, 1, 16); + spinbtn_linespc_adj = gtk_adjustment_new (2, 0, 16, 1, 1, 0); spinbtn_linespc = gtk_spin_button_new (GTK_ADJUSTMENT (spinbtn_linespc_adj), 1, 0); gtk_widget_show (spinbtn_linespc); @@ -1877,7 +1877,7 @@ static GtkWidget *prefs_message_create(void) gtk_widget_show (label_scr); gtk_box_pack_start (GTK_BOX (hbox_scr), label_scr, FALSE, FALSE, 0); - spinbtn_scrollstep_adj = gtk_adjustment_new (1, 1, 100, 1, 10, 10); + spinbtn_scrollstep_adj = gtk_adjustment_new (1, 1, 100, 1, 10, 0); spinbtn_scrollstep = gtk_spin_button_new (GTK_ADJUSTMENT (spinbtn_scrollstep_adj), 1, 0); gtk_widget_show (spinbtn_scrollstep); @@ -2243,7 +2243,7 @@ static void prefs_privacy_create(void) gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox1), label, FALSE, FALSE, 0); - spinbtn_store_passphrase_adj = gtk_adjustment_new (0, 0, 1440, 1, 5, 5); + spinbtn_store_passphrase_adj = gtk_adjustment_new (0, 0, 1440, 1, 5, 0); spinbtn_store_passphrase = gtk_spin_button_new (GTK_ADJUSTMENT (spinbtn_store_passphrase_adj), 1, 0); gtk_widget_show (spinbtn_store_passphrase); @@ -2839,7 +2839,7 @@ static GtkWidget *prefs_advanced_create(void) gtk_widget_show (label_iotimeout); gtk_box_pack_start (GTK_BOX (hbox1), label_iotimeout, FALSE, FALSE, 0); - spinbtn_iotimeout_adj = gtk_adjustment_new (60, 0, 1000, 1, 10, 10); + spinbtn_iotimeout_adj = gtk_adjustment_new (60, 0, 1000, 1, 10, 0); spinbtn_iotimeout = gtk_spin_button_new (GTK_ADJUSTMENT (spinbtn_iotimeout_adj), 1, 0); gtk_widget_show (spinbtn_iotimeout); diff --git a/src/prefs_filter_edit.c b/src/prefs_filter_edit.c index 235ceeea..cfdd0de1 100644 --- a/src/prefs_filter_edit.c +++ b/src/prefs_filter_edit.c @@ -583,7 +583,7 @@ CondHBox *prefs_filter_edit_cond_hbox_create(FilterCondEdit *cond_edit) gtk_widget_show(key_entry); gtk_box_pack_start(GTK_BOX(hbox), key_entry, TRUE, TRUE, 0); - spin_btn_adj = gtk_adjustment_new(0, 0, 99999, 1, 10, 100); + spin_btn_adj = gtk_adjustment_new(0, 0, 99999, 1, 10, 0); spin_btn = gtk_spin_button_new(GTK_ADJUSTMENT(spin_btn_adj), 1, 0); gtk_box_pack_start(GTK_BOX(hbox), spin_btn, FALSE, FALSE, 0); gtk_widget_set_size_request(spin_btn, 64, -1); |