After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 564371 - ghex2 prints g_warning on startup because it uses a deprecated API (GtkAdjustment page_size being non-zero)
ghex2 prints g_warning on startup because it uses a deprecated API (GtkAdjust...
Status: RESOLVED FIXED
Product: ghex
Classification: Applications
Component: general
unspecified
Other All
: Normal minor
: ---
Assigned To: GHex maintainers
GHex maintainers
Depends on:
Blocks:
 
 
Reported: 2008-12-13 12:01 UTC by Martin Olsson
Modified: 2009-01-27 03:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
this patch passes page_size 0 instead (no warning, no regressions) (622 bytes, patch)
2008-12-13 12:04 UTC, Martin Olsson
committed Details | Review

Description Martin Olsson 2008-12-13 12:01:31 UTC
Please describe the problem:
The exact g_warning being printed at startup is:

(ghex2:13076): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Martin Olsson 2008-12-13 12:04:02 UTC
Created attachment 124574 [details] [review]
this patch passes page_size 0 instead (no warning, no regressions)

Bug was still present in svn trunk.

While I'm not familiar with the general story as to why non_zero page_sizes was deprecated etc I do know that this patch silences and warning and it does not seem to introduce any regressions to the affected "stream" spin button in ghex.
Comment 2 Jonathon Jongsma 2009-01-27 03:47:36 UTC
pushed to svn, thanks.