diff options
Diffstat (limited to 'mate-dictionary/libgdict')
-rw-r--r-- | mate-dictionary/libgdict/gdict-client-context.c | 2 | ||||
-rw-r--r-- | mate-dictionary/libgdict/gdict-defbox.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/mate-dictionary/libgdict/gdict-client-context.c b/mate-dictionary/libgdict/gdict-client-context.c index 7d42d5fd..8bc9cbcd 100644 --- a/mate-dictionary/libgdict/gdict-client-context.c +++ b/mate-dictionary/libgdict/gdict-client-context.c @@ -419,7 +419,7 @@ gdict_client_context_set_property (GObject *object, priv->client_name = g_strdup (g_value_get_string (value)); break; case GDICT_CONTEXT_PROP_LOCAL_ONLY: - priv->local_only = g_value_get_boolean (value); + priv->local_only = (g_value_get_boolean (value) != FALSE); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); diff --git a/mate-dictionary/libgdict/gdict-defbox.c b/mate-dictionary/libgdict/gdict-defbox.c index 8f6e0d23..087c8761 100644 --- a/mate-dictionary/libgdict/gdict-defbox.c +++ b/mate-dictionary/libgdict/gdict-defbox.c @@ -1563,7 +1563,7 @@ set_cursor_if_appropriate (GdictDefbox *defbox, if (hovering != defbox->priv->is_hovering) { - defbox->priv->is_hovering = hovering; + defbox->priv->is_hovering = (hovering != FALSE); if (defbox->priv->is_hovering) gdk_window_set_cursor (gtk_text_view_get_window (text_view, @@ -2060,7 +2060,7 @@ gdict_defbox_set_show_find (GdictDefbox *defbox, if (priv->show_find == show_find) return; - priv->show_find = show_find; + priv->show_find = (show_find != FALSE); if (priv->show_find) { gtk_widget_show_all (priv->find_pane); |