diff options
author | Diego Escalante Urrelo <diegoe@igalia.com> | 2012-08-02 23:44:36 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <diegoe@igalia.com> | 2012-08-03 16:52:13 +0800 |
commit | ae3cd166d4f937f7c6417ca9f6620e21a3b22bbe (patch) | |
tree | 4656ccc992b3d1e776bdda236d8100931466b4e5 /embed | |
parent | f62663bb9495088717cac6aa8ca6ca46330773b3 (diff) | |
download | gsoc2013-epiphany-ae3cd166d4f937f7c6417ca9f6620e21a3b22bbe.tar.gz gsoc2013-epiphany-ae3cd166d4f937f7c6417ca9f6620e21a3b22bbe.tar.zst gsoc2013-epiphany-ae3cd166d4f937f7c6417ca9f6620e21a3b22bbe.zip |
e-web-view: use GtkLabel API when possible
https://bugzilla.gnome.org/show_bug.cgi?id=681080
Diffstat (limited to 'embed')
-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); |