diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2009-10-25 18:29:16 +0100 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2009-10-25 18:29:16 +0100 |
| commit | 8f37e3b223749c6eb1a81bafe6d0b8895f98d6e5 (patch) | |
| tree | 938bdedd511dc0879f4308ad409f624941c8bcd8 /libgtk_kylix/GTKStdCtrls.pas | |
| parent | 4aba4d7597005af1efa12f420e01d5f938ad60d8 (diff) | |
| download | tuxcmd-8f37e3b223749c6eb1a81bafe6d0b8895f98d6e5.tar.xz | |
Get rid of GtkSpinButton deprecated messages
Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
Diffstat (limited to 'libgtk_kylix/GTKStdCtrls.pas')
| -rw-r--r-- | libgtk_kylix/GTKStdCtrls.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgtk_kylix/GTKStdCtrls.pas b/libgtk_kylix/GTKStdCtrls.pas index f64282c..34ab7bc 100644 --- a/libgtk_kylix/GTKStdCtrls.pas +++ b/libgtk_kylix/GTKStdCtrls.pas @@ -913,7 +913,7 @@ end; constructor TGTKSpinEdit.Create(AOwner: TComponent); begin inherited Create(AOwner); - FAdjustment := PGtkAdjustment(gtk_adjustment_new(0, 0, 0, 1, 10, 10)); + FAdjustment := PGtkAdjustment(gtk_adjustment_new(0, 0, 0, 1, 10, 0)); FWidget := gtk_spin_button_new(FAdjustment, 1, 0); Show; end; |
