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 155641 - tutorial examples use deprecated functions
tutorial examples use deprecated functions
Status: RESOLVED INCOMPLETE
Product: gtk+
Classification: Platform
Component: Documentation
2.4.x
Other Linux
: Normal minor
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2004-10-17 16:09 UTC by Loïc Minier
Modified: 2004-12-24 10:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Loïc Minier 2004-10-17 16:09:03 UTC
The tutorial for GTK 2 uses deprecated functions:
<http://www.gtk.org/tutorial/sec-calendar.html>

Compile the example source code (which has syntax errors, just comment them
out), you should see that launching within a LC_ALL=C will show weeks starting
on sunday, whatever you do with the "weeks start on monday" checkbox.

Cecause gtk_calendar_display_options() is deprecated, as well as
GTK_CALENDAR_WEEK_START_MONDAY, some users are confused.  The API reference is
correct though.

Please include a warning in the tutorial that it is outdated.

This is Debian bug <http://bugs.debian.org/272054>.

Regards,

-- 
Loïc Minier
Comment 1 Matthias Clasen 2004-12-23 20:46:17 UTC
We're (slowly) updating the tutorial. No need to file bugs about individual
sections, unless you want to attach an updated text.
Comment 2 Loïc Minier 2004-12-24 10:33:26 UTC
I understand you don't want a bug for every section out of date if the whole
manual is out of date, but I suggest putting a (big fat) warning at the
beginning of the tutorial at least so people can check in the API reference
instead.  Think of people searching examples via search engines for example!

My suggestion for this particular source code problem is to remove the
gtk_calendar_display_options() altogether.