Commit 657aafdb authored by alp@webkit.org's avatar alp@webkit.org

2007-11-09 Xan Lopez <xan@gnome.org>

        Reviewed by Alp.

        Fix http://bugs.webkit.org/show_bug.cgi?id=15926
        [GTK] WebKitPage map handler is redundant.

        * Api/webkitgtkpage.cpp:
        The map handler for WebKitPage is redundant, GtkContainer does
        the same (and more correctly).


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27658 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 5decd396
......@@ -160,19 +160,6 @@ static void webkit_page_realize(GtkWidget* widget)
gdk_window_set_user_data(widget->window, widget);
}
static void webkit_page_map(GtkWidget* widget)
{
GTK_WIDGET_SET_FLAGS(widget, GTK_MAPPED);
WebKitPagePrivate* private_data = WEBKIT_PAGE_GET_PRIVATE(WEBKIT_PAGE(widget));
HashSet<GtkWidget*>::const_iterator end = private_data->children.end();
for (HashSet<GtkWidget*>::const_iterator current = private_data->children.begin(); current != end; ++current)
if (GTK_WIDGET_VISIBLE(*current) && !GTK_WIDGET_MAPPED(*current))
gtk_widget_map((*current));
gdk_window_show(widget->window);
}
static void webkit_page_set_scroll_adjustments(WebKitPage* page, GtkAdjustment* hadj, GtkAdjustment* vadj)
{
FrameView* view = core(getFrameFromPage(page))->view();
......@@ -383,7 +370,6 @@ static void webkit_page_class_init(WebKitPageClass* pageClass)
GtkWidgetClass* widgetClass = GTK_WIDGET_CLASS(pageClass);
widgetClass->realize = webkit_page_realize;
widgetClass->map = webkit_page_map;
widgetClass->expose_event = webkit_page_expose_event;
widgetClass->key_press_event = webkit_page_key_event;
widgetClass->key_release_event = webkit_page_key_event;
......
2007-11-09 Xan Lopez <xan@gnome.org>
Reviewed by Alp.
Fix http://bugs.webkit.org/show_bug.cgi?id=15926
[GTK] WebKitPage map handler is redundant.
* Api/webkitgtkpage.cpp:
The map handler for WebKitPage is redundant, GtkContainer does
the same (and more correctly).
2007-11-08 Alp Toker <alp@atoker.com>
Reviewed by Mark Rowe.
......
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