Bug 25697
Summary: | [GTK] Warnings building WebKit/gtk/tests/testwebframe.c | ||
---|---|---|---|
Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> |
Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | christian, jmalonzo, mrowe |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Mac | ||
OS: | OS X 10.5 | ||
URL: | http://build.webkit.org/builders/GTK%20Linux%20Release/builds/314/steps/compile-webkit/logs/warnings |
David Kilzer (:ddkilzer)
* SUMMARY
There are compilation warnings building WebKit/gtk/tests/testwebframe.c:
../../WebKit/gtk/tests/testwebframe.c:45: warning: passing argument 2 of 'gtk_container_add' from incompatible pointer type
../../WebKit/gtk/tests/testwebframe.c:47: warning: passing argument 1 of 'gtk_widget_show' from incompatible pointer type
../../WebKit/gtk/tests/testwebframe.c:48: warning: passing argument 1 of 'gtk_widget_destroy' from incompatible pointer type
It appears that all of these methods want a GtkWidget* argument where the WebKitWebView* webView variable is used.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Christian Dywan
2009-05-11 Christian Dywan <christian@twotoasts.de>
Reviewed by Gustavo Noronha.
https://bugs.webkit.org/show_bug.cgi?id=25697
[GTK] Warnings building WebKit/gtk/tests/testwebframe.c
* tests/testwebframe.c:
(test_webkit_web_frame_create_destroy): Declare webView as a GtkWidget*
to fix pointer type incompatibility warnings.
David Kilzer (:ddkilzer)
Thanks!! http://trac.webkit.org/changeset/43530