aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bookmarks/ephy-bookmark-action.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bookmarks/ephy-bookmark-action.c b/src/bookmarks/ephy-bookmark-action.c
index b3fea1fdb..455ee6c17 100644
--- a/src/bookmarks/ephy-bookmark-action.c
+++ b/src/bookmarks/ephy-bookmark-action.c
@@ -135,8 +135,8 @@ ephy_bookmark_action_sync_smart_url (GtkAction *gaction,
EphyBookmarkAction *action = EPHY_BOOKMARK_ACTION (gaction);
EphyBookmarkActionPrivate *priv = action->priv;
gboolean is_smart_url = priv->smart_url;
- gboolean has_icon = (gboolean) ephy_node_get_property_string
- (priv->node, EPHY_NODE_BMK_PROP_ICON);
+ gboolean has_icon = ephy_node_get_property_string
+ (priv->node, EPHY_NODE_BMK_PROP_ICON) != NULL;
GtkWidget *entry, *icon;
guint width;