summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@gnome.org>2016-09-21 22:53:49 -0500
committerMichael Catanzaro <mcatanzaro@gnome.org>2016-09-21 23:58:41 -0500
commitfb34ac9e2d8ad52ba5be9879fb2010220d8feb4b (patch)
tree32d88a36aa66651f862f2819bc6c7df66056bd9e
parent0b1e5915d3c0ec456ed4baae99b8ed16c0c32d8a (diff)
downloadepiphany-fb34ac9e2d8ad52ba5be9879fb2010220d8feb4b.tar.gz
title-box: Don't use a secure image when created
This didn't make any sense, I just did it because I hadn't found the gtk_image_new() function at the time.
-rw-r--r--lib/widgets/ephy-title-box.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/widgets/ephy-title-box.c b/lib/widgets/ephy-title-box.c
index 6bbf023b1..d5d40564e 100644
--- a/lib/widgets/ephy-title-box.c
+++ b/lib/widgets/ephy-title-box.c
@@ -98,7 +98,8 @@ ephy_title_box_constructed (GObject *object)
gtk_widget_set_valign (hbox, GTK_ALIGN_BASELINE);
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
- title_box->lock_image = gtk_image_new_from_icon_name ("channel-secure-symbolic", GTK_ICON_SIZE_MENU);
+ title_box->lock_image = gtk_image_new ();
+ g_object_set (title_box->lock_image, "icon-size", GTK_ICON_SIZE_MENU, NULL);
gtk_widget_set_valign (title_box->lock_image, GTK_ALIGN_BASELINE);
gtk_box_pack_start (GTK_BOX (hbox), title_box->lock_image, FALSE, FALSE, 0);