! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
use of deprecated glib/gio (in 2.32) functions
Status:
RESOLVED: WORKSFORME

Comments

Description Landry Breuil editbugs 2012-04-15 09:56:09 CEST
See http://buildbot.xfce.org/builders/thunar-openbsd/builds/335/steps/gmake%20distcheck/logs/warnings%20%28101%29 and the build failure with -Werror : http://buildbot.xfce.org/builders/thunar-openbsd/builds/335/steps/gmake/logs/stdio


- g_format_size_for_display() is deprecated since 2.30, http://developer.gnome.org/glib/unstable/glib-Miscellaneous-Utility-Functions.html#g-format-size-for-display
- g_atexit() is deprecated since 2.32 (and replaced by... nothing. sigh), http://developer.gnome.org/glib/stable/glib-Miscellaneous-Utility-Functions.html#g-atexit
- g_volume_eject,g_volume_eject_finish are deprecated since 2.22, http://developer.gnome.org/gio/unstable/GVolume.html#g-volume-eject
- g_mount_unmount,g_mount_unmount_finish are deprecated since 2.22, http://developer.gnome.org/gio/unstable/GMount.html#g-mount-unmount

All occurences :
../../thunar/thunar-file.c:190: warning: 'g_atexit' is deprecated (declared at /usr/local/include/glib-2.0/glib/gutils.h:237)
../../thunar/thunar-file.c:1689: warning: 'g_format_size_for_display' is deprecated (declared at /usr/local/include/glib-2.0/glib/gutils.h:215)
../../thunar/thunar-list-model.c:2295: warning: 'g_format_size_for_display' is deprecated (declared at /usr/local/include/glib-2.0/glib/gutils.h:215)
../../thunar/thunar-list-model.c:2305: warning: 'g_format_size_for_display' is deprecated (declared at /usr/local/include/glib-2.0/glib/gutils.h:215)
../../thunar/thunar-list-model.c:2407: warning: 'g_format_size_for_display' is deprecated (declared at /usr/local/include/glib-2.0/glib/gutils.h:215)
../../thunar/thunar-properties-dialog.c:999: warning: 'g_format_size_for_display' is deprecated (declared at /usr/local/include/glib-2.0/glib/gutils.h:215)
../../thunar/thunar-shortcuts-view.c:1404: warning: 'g_volume_eject_finish' is deprecated (declared at /usr/local/include/glib-2.0/gio/gvolume.h:214)
../../thunar/thunar-shortcuts-view.c:1445: warning: 'g_mount_unmount_finish' is deprecated (declared at /usr/local/include/glib-2.0/gio/gmount.h:186)
../../thunar/thunar-shortcuts-view.c:1497: warning: 'g_volume_eject' is deprecated (declared at /usr/local/include/glib-2.0/gio/gvolume.h:209)
../../thunar/thunar-shortcuts-view.c:1512: warning: 'g_mount_unmount' is deprecated (declared at /usr/local/include/glib-2.0/gio/gmount.h:181)
../../thunar/thunar-size-label.c:383: warning: 'g_format_size_for_display' is deprecated (declared at /usr/local/include/glib-2.0/glib/gutils.h:215)
../../thunar/thunar-size-label.c:467: warning: 'g_format_size_for_display' is deprecated (declared at /usr/local/include/glib-2.0/glib/gutils.h:215)
../../thunar/thunar-thumbnail-cache.c:279: warning: passing argument 2 of 'thunar_thumbnail_cache_proxy_cleanup_async' discards qualifiers from pointer target type
../../thunar/thunar-tree-view.c:1739: warning: 'g_volume_eject_finish' is deprecated (declared at /usr/local/include/glib-2.0/gio/gvolume.h:214)
../../thunar/thunar-tree-view.c:1780: warning: 'g_mount_unmount_finish' is deprecated (declared at /usr/local/include/glib-2.0/gio/gmount.h:186)
../../thunar/thunar-tree-view.c:1825: warning: 'g_volume_eject' is deprecated (declared at /usr/local/include/glib-2.0/gio/gvolume.h:209)
../../thunar/thunar-tree-view.c:1840: warning: 'g_mount_unmount' is deprecated (declared at /usr/local/include/glib-2.0/gio/gmount.h:181)
Comment 1 Nick Schermer editbugs 2012-09-19 08:59:51 CEST
Didn't we fix this last year?

Bug #8705

Reported by:
Landry Breuil
Reported on: 2012-04-15
Last modified on: 2012-09-19

People

Assignee:
Jannis Pohlmann
CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information