From 2263bbb0be7069507b506abdcad0303ede00301d Mon Sep 17 00:00:00 2001 From: "alp@webkit.org" Date: Wed, 14 May 2008 03:38:28 +0000 Subject: [PATCH] 2008-05-13 Alp Toker GTK+ build fix. Implement EventLoopGtk.cpp. * GNUmakefile.am: * platform/gtk/EventLoopGtk.cpp: Added. (WebCore::EventLoop::cycle): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33429 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- WebCore/ChangeLog | 8 +++++++ WebCore/GNUmakefile.am | 1 + WebCore/platform/gtk/EventLoopGtk.cpp | 32 +++++++++++++++++++++++++++ 3 files changed, 41 insertions(+) create mode 100644 WebCore/platform/gtk/EventLoopGtk.cpp diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog index 5297f2ff6e1..c6f27b7fff9 100644 --- a/WebCore/ChangeLog +++ b/WebCore/ChangeLog @@ -1,3 +1,11 @@ +2008-05-13 Alp Toker + + GTK+ build fix. Implement EventLoopGtk.cpp. + + * GNUmakefile.am: + * platform/gtk/EventLoopGtk.cpp: Added. + (WebCore::EventLoop::cycle): + 2008-05-13 Alp Toker GTK+ build fix. Fix IDL filename typo and add JavaScriptCallFrame.cpp diff --git a/WebCore/GNUmakefile.am b/WebCore/GNUmakefile.am index 561ced5becd..529f019207a 100644 --- a/WebCore/GNUmakefile.am +++ b/WebCore/GNUmakefile.am @@ -1034,6 +1034,7 @@ webkitgtk_sources += \ WebCore/platform/gtk/ContextMenuItemGtk.cpp \ WebCore/platform/gtk/DragDataGtk.cpp \ WebCore/platform/gtk/DragImageGtk.cpp \ + WebCore/platform/gtk/EventLoopGtk.cpp \ WebCore/platform/gtk/FileChooserGtk.cpp \ WebCore/platform/gtk/FileSystemGtk.cpp \ WebCore/platform/graphics/gtk/FontCacheGtk.cpp \ diff --git a/WebCore/platform/gtk/EventLoopGtk.cpp b/WebCore/platform/gtk/EventLoopGtk.cpp new file mode 100644 index 00000000000..4ef7b5cb77b --- /dev/null +++ b/WebCore/platform/gtk/EventLoopGtk.cpp @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2008 Nuanti Ltd. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public License + * along with this library; see the file COPYING.LIB. If not, write to + * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + +#include "config.h" +#include "EventLoop.h" + +#include + +namespace WebCore { + +void EventLoop::cycle() +{ + g_main_context_iteration(NULL, FALSE); +} + +} // namespace WebCore -- GitLab