[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
mrobinson at webkit.org
mrobinson at webkit.org
Wed Dec 22 12:29:35 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit 60ee7c6260d214e295ffec49eb199c731edab852
Author: mrobinson at webkit.org <mrobinson at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Tue Aug 24 19:39:06 2010 +0000
2010-08-24 Martin Robinson <mrobinson at igalia.com>
Build fix for GTK+.
* tests/testkeyevents.c:
(key_press_event_cb):
(key_release_event_cb):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65923 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit/gtk/ChangeLog b/WebKit/gtk/ChangeLog
index 50c4dab..1c8213a 100644
--- a/WebKit/gtk/ChangeLog
+++ b/WebKit/gtk/ChangeLog
@@ -1,5 +1,13 @@
2010-08-24 Martin Robinson <mrobinson at igalia.com>
+ Build fix for GTK+.
+
+ * tests/testkeyevents.c:
+ (key_press_event_cb):
+ (key_release_event_cb):
+
+2010-08-24 Martin Robinson <mrobinson at igalia.com>
+
Reviewed by Xan Lopez.
[GTK] GTK3: EventSender and API tests should use gdk_event_new when synthesizing events
diff --git a/WebKit/gtk/tests/testkeyevents.c b/WebKit/gtk/tests/testkeyevents.c
index 089d56c..b41a032 100644
--- a/WebKit/gtk/tests/testkeyevents.c
+++ b/WebKit/gtk/tests/testkeyevents.c
@@ -82,7 +82,7 @@ static void key_event_fixture_teardown(KeyEventFixture* fixture, gconstpointer d
static gboolean key_press_event_cb(WebKitWebView* webView, GdkEvent* event, gpointer data)
{
KeyEventFixture* fixture = (KeyEventFixture*)data;
- gboolean handled = GTK_WIDGET_GET_CLASS(fixture->webView)->key_press_event(GTK_WIDGET(fixture->webView), event->key);
+ gboolean handled = GTK_WIDGET_GET_CLASS(fixture->webView)->key_press_event(GTK_WIDGET(fixture->webView), &event->key);
g_assert_cmpint(handled, ==, fixture->info->shouldBeHandled);
return FALSE;
@@ -92,7 +92,7 @@ static gboolean key_release_event_cb(WebKitWebView* webView, GdkEvent* event, gp
{
// WebCore never seems to mark keyup events as handled.
KeyEventFixture* fixture = (KeyEventFixture*)data;
- gboolean handled = GTK_WIDGET_GET_CLASS(fixture->webView)->key_press_event(GTK_WIDGET(fixture->webView), event->key);
+ gboolean handled = GTK_WIDGET_GET_CLASS(fixture->webView)->key_press_event(GTK_WIDGET(fixture->webView), &event->key);
g_assert(!handled);
g_main_loop_quit(fixture->loop);
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list