diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2006-07-01 21:23:49 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2006-07-01 21:23:49 +0800 |
commit | 3bc393a03ff990df90d6c29206d915aa36693b12 (patch) | |
tree | 7d3013061bf739c9d1c6d18d66077bef2d9ac9e2 /src/bookmarks | |
parent | feb35c55df4f97b0a5eed0d048013e14f0a27118 (diff) | |
download | gsoc2013-epiphany-3bc393a03ff990df90d6c29206d915aa36693b12.tar gsoc2013-epiphany-3bc393a03ff990df90d6c29206d915aa36693b12.tar.gz gsoc2013-epiphany-3bc393a03ff990df90d6c29206d915aa36693b12.tar.bz2 gsoc2013-epiphany-3bc393a03ff990df90d6c29206d915aa36693b12.tar.lz gsoc2013-epiphany-3bc393a03ff990df90d6c29206d915aa36693b12.tar.xz gsoc2013-epiphany-3bc393a03ff990df90d6c29206d915aa36693b12.tar.zst gsoc2013-epiphany-3bc393a03ff990df90d6c29206d915aa36693b12.zip |
Don't cast to gboolean but check for != NULL instead.
2006-07-01 Christian Persch <chpe@cvs.gnome.org>
* src/bookmarks/ephy-bookmark-action.c
(ephy_bookmark_action_sync_smart_url):
Don't cast to gboolean but check for != NULL instead.
Diffstat (limited to 'src/bookmarks')
-rw-r--r-- | src/bookmarks/ephy-bookmark-action.c | 4 |
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; |