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 318020 - GCC 4.1 warning fixes for eog
GCC 4.1 warning fixes for eog
Status: RESOLVED FIXED
Product: eog
Classification: Core
Component: general
2.12.x
Other Linux
: Normal enhancement
: ---
Assigned To: EOG Maintainers
EOG Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-10-05 14:13 UTC by Stanislav Brabec
Modified: 2005-11-03 03:53 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
eog-casts.patch (2.67 KB, patch)
2005-10-05 14:13 UTC, Stanislav Brabec
none Details | Review
More warnings erased. (5.88 KB, patch)
2005-10-07 03:34 UTC, Lucas Rocha
none Details | Review

Description Stanislav Brabec 2005-10-05 14:13:05 UTC
Distribution/Version: SuSE Linux 10.0

Here is a patch which fixes some eog warnings.

There is a list of remaining warnings:
libeog-marshal.c:58: warning: no previous prototype for
'libeog_marshal_VOID__INT_INT_INT_INT'
libeog-marshal.c:99: warning: no previous prototype for
'libeog_marshal_VOID__INT_INT'
libeog-marshal.c:138: warning: no previous prototype for
'libeog_marshal_VOID__OBJECT_OBJECT'
libeog-marshal.c:179: warning: no previous prototype for
'libeog_marshal_VOID__OBJECT_INT'
libeog-marshal.c:216: warning: no previous prototype for
'libeog_marshal_BOOLEAN__INT_POINTER'
eog-image.c:1775: warning: initialization discards qualifiers from pointer
target type
eog-image.c:1776: warning: initialization discards qualifiers from pointer
target type
eog-thumbnail.c:59: warning: unused variable 'uri_str'
eog-image-list.c:406: warning: cast to pointer from integer of different size
eog-image-list.c:413: warning: cast from pointer to integer of different size
eog-scroll-view.c:1409: warning: 'image_loading_update_cb' defined but not used
eog-scroll-view.c:1449: warning: 'image_loading_finished_cb' defined but not used
eog-scroll-view.c:1475: warning: 'image_loading_failed_cb' defined but not used
eog-scroll-view.c:1494: warning: 'image_loading_cancelled_cb' defined but not used
egg-recent-view-gtk.c:748: warning: passing argument 2 of
'g_object_remove_weak_pointer' from incompatible pointer type
egg-recent-view-gtk.c:754: warning: passing argument 2 of
'g_object_add_weak_pointer' from incompatible pointer type
eog-window.c:3615: warning: unused variable 'i'
eog-preferences.c:122: warning: implicit declaration of function
'gnome_help_display'
session.c:51: warning: passing argument 2 of 'eog_window_open' from incompatible
pointer type
Comment 1 Stanislav Brabec 2005-10-05 14:13:41 UTC
Created attachment 53057 [details] [review]
eog-casts.patch
Comment 2 Lucas Rocha 2005-10-07 03:34:31 UTC
Created attachment 53154 [details] [review]
More warnings erased.
Comment 3 Lucas Rocha 2005-11-03 03:53:50 UTC
Fixed in HEAD, thanks!