diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/bookmarks/ephy-bookmark-action.c | 4 |
2 files changed, 9 insertions, 2 deletions
@@ -1,5 +1,12 @@ 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. + +2006-07-01 Christian Persch <chpe@cvs.gnome.org> + * src/languages.h: Add fur. 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; |