diff options
Diffstat (limited to 'embed/ephy-web-view.c')
-rw-r--r-- | embed/ephy-web-view.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c index 360f73d8b..dfc05aa15 100644 --- a/embed/ephy-web-view.c +++ b/embed/ephy-web-view.c @@ -1940,8 +1940,9 @@ geolocation_policy_decision_requested_cb (WebKitWebView *web_view, host); g_free (host); - label = gtk_label_new (message); - g_object_set (label, "use-markup", TRUE, "wrap", TRUE, NULL); + label = gtk_label_new (NULL); + gtk_label_set_markup (GTK_LABEL (label), message); + gtk_label_set_line_wrap (GTK_LABEL (label), TRUE); g_free (message); |