summaryrefslogtreecommitdiff
path: root/mate-dictionary/libgdict/gdict-defbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'mate-dictionary/libgdict/gdict-defbox.c')
-rw-r--r--mate-dictionary/libgdict/gdict-defbox.c4
1 files changed, 2 insertions, 2 deletions
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);