GNOME Bugzilla – Bug 141072
tests/testgtk.c: many warnings fixed
Last modified: 2006-09-11 12:25:11 UTC
All fixed: testgtk.c: In function `create_gridded_geometry': testgtk.c:1983: warning: dereferencing type-punned pointer will break strict-aliasing rules testgtk.c: In function `create_key_lookup': testgtk.c:4159: warning: dereferencing type-punned pointer will break strict-aliasing rules testgtk.c: In function `find_widget_at_pointer': testgtk.c:11253: warning: dereferencing type-punned pointer will break strict-aliasing rules Not fixed (not sure whether to remove these functions or not...): testgtk.c: At top level: testgtk.c:7304: warning: `opacity_toggled_cb' defined but not used testgtk.c:7315: warning: `palette_toggled_cb' defined but not used
Created attachment 27073 [details] [review] Proposed patch
*** Bug 141071 has been marked as a duplicate of this bug. ***
Created attachment 27074 [details] [review] Proposed patch I think I've got an invalid patch here... try this new one instead.
Created attachment 27075 [details] [review] Removes unused functions opacity_toggled_cb and palette_toggled_cb Use this patch after you've used patch 27074, and only if we really want to get rid of these functions.
thanks, fixed in CVS. Mon Sep 11 14:22:39 2006 Tim Janik <timj@imendio.com> * tests/testgtk.c: fixed compiler warnings.