From 651b22791ed39fc3b9e5634c14db629e88cc15bf Mon Sep 17 00:00:00 2001 From: rbuj Date: Tue, 21 Dec 2021 09:51:20 +0100 Subject: dict: implicit conversion changes signedness: 'gboolean' to 'guint' --- mate-dictionary/libgdict/gdict-client-context.c | 2 +- mate-dictionary/libgdict/gdict-defbox.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'mate-dictionary/libgdict') 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); -- cgit v1.2.1