GNOME Bugzilla – Bug 318020
GCC 4.1 warning fixes for eog
Last modified: 2005-11-03 03:53:50 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
Created attachment 53057 [details] [review] eog-casts.patch
Created attachment 53154 [details] [review] More warnings erased.
Fixed in HEAD, thanks!