Commit a63915d6 authored by jmalonzo@webkit.org's avatar jmalonzo@webkit.org

2009-05-05 Jan Michael Alonzo <jmalonzo@webkit.org>

        Reviewed by Xan Lopez.

        Call moz_gtk_shutdown on RenderThemeGtk destruction.

        * platform/gtk/RenderThemeGtk.cpp:
        (WebCore::RenderThemeGtk::~RenderThemeGtk):
        * platform/gtk/RenderThemeGtk.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43250 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent dea99f9c
2009-05-05 Jan Michael Alonzo <jmalonzo@webkit.org>
Reviewed by Xan Lopez.
Call moz_gtk_shutdown on RenderThemeGtk destruction.
* platform/gtk/RenderThemeGtk.cpp:
(WebCore::RenderThemeGtk::~RenderThemeGtk):
* platform/gtk/RenderThemeGtk.h:
2009-05-05 Darin Adler <darin@apple.com>
Reviewed by Steve Falkenburg.
......@@ -54,6 +54,14 @@ RenderThemeGtk::RenderThemeGtk()
}
}
RenderThemeGtk::~RenderThemeGtk()
{
if (mozGtkInitialized) {
moz_gtk_shutdown();
mozGtkInitialized = false;
}
}
static bool supportsFocus(ControlPart appearance)
{
switch (appearance) {
......
......@@ -36,6 +36,7 @@ namespace WebCore {
class RenderThemeGtk : public RenderTheme {
public:
RenderThemeGtk();
virtual ~RenderThemeGtk();
// A method asking if the theme's controls actually care about redrawing when hovered.
virtual bool supportsHover(const RenderStyle* style) const { return true; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment