Commit f0dedeae authored by christian@webkit.org's avatar christian@webkit.org

[GTK] Property setters do not call g_object_notify()

https://bugs.webkit.org/show_bug.cgi?id=18405

Reviewed by Alp Toker.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34571 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 9f65fde2
2008-06-15 Christian Dywan <christian@twotoasts.de>
Reviewed by Alp Toker.
[GTK] Property setters do not call g_object_notify()
https://bugs.webkit.org/show_bug.cgi?id=18405
* webkit/webkitwebview.cpp:
2008-06-15 Christian Dywan <christian@twotoasts.de> 2008-06-15 Christian Dywan <christian@twotoasts.de>
Reviewed by Alp Toker. Reviewed by Alp Toker.
......
...@@ -1458,6 +1458,7 @@ void webkit_web_view_set_settings(WebKitWebView* webView, WebKitWebSettings* web ...@@ -1458,6 +1458,7 @@ void webkit_web_view_set_settings(WebKitWebView* webView, WebKitWebSettings* web
priv->webSettings = webSettings; priv->webSettings = webSettings;
webkit_web_view_update_settings(webView); webkit_web_view_update_settings(webView);
g_signal_connect(webSettings, "notify", G_CALLBACK(webkit_web_view_settings_notify), webView); g_signal_connect(webSettings, "notify", G_CALLBACK(webkit_web_view_settings_notify), webView);
g_object_notify(G_OBJECT(webView), "settings");
} }
WebKitWebSettings* webkit_web_view_get_settings(WebKitWebView* webView) WebKitWebSettings* webkit_web_view_get_settings(WebKitWebView* webView)
...@@ -1986,6 +1987,7 @@ void webkit_web_view_set_editable(WebKitWebView* webView, gboolean flag) ...@@ -1986,6 +1987,7 @@ void webkit_web_view_set_editable(WebKitWebView* webView, gboolean flag)
// mainFrame->setSelectionFromNone(); // mainFrame->setSelectionFromNone();
} else } else
frame->removeEditingStyleFromBodyElement(); frame->removeEditingStyleFromBodyElement();
g_object_notify(G_OBJECT(webView), "editable");
} }
/** /**
...@@ -2066,6 +2068,7 @@ void webkit_web_view_set_transparent(WebKitWebView* webView, gboolean flag) ...@@ -2066,6 +2068,7 @@ void webkit_web_view_set_transparent(WebKitWebView* webView, gboolean flag)
Frame* frame = core(webView)->mainFrame(); Frame* frame = core(webView)->mainFrame();
g_return_if_fail(frame); g_return_if_fail(frame);
frame->view()->setTransparent(flag); frame->view()->setTransparent(flag);
g_object_notify(G_OBJECT(webView), "transparent");
} }
/** /**
......
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