GNOME Bugzilla – Bug 352835
Possible crashes caused by missing declaration
Last modified: 2006-08-26 15:18:37 UTC
I detected several undeclared functions used by gtkhtml. Although gcc only warns about it, it might cause crashes on 64bits platforms because gcc assumes that the return value is an integer(32bits) but sometimes the return value is a pointer (64bits). Here are the missing functions (extract from build log): editor-control-factory.c:251: warning: implicit declaration of function 'gtk_html_filename_from_uri' editor-control-factory.c:251: warning: assignment makes pointer from integer without a cast image.c:396: warning: implicit declaration of function 'gtk_file_chooser_set_preview_active' I searched for the function gtk_file_chooser_set_preview_active but didn't found it. I think the right name is gtk_file_chooser_set_preview_widget_active I'll provide a patch to fix this bug
Created attachment 71590 [details] [review] Fix the missing declarations
Thanks for the bug report. This particular bug has already been reported into our bug tracking system and has already been fixed, but please feel free to report any further bugs you find. :-) *** This bug has been marked as a duplicate of 351971 ***