diff options
author | rbuj <[email protected]> | 2021-12-22 07:06:09 +0100 |
---|---|---|
committer | Victor Kareh <[email protected]> | 2022-03-22 16:15:20 -0400 |
commit | 394bb344739e947cfde70a487358728fb4ca26a2 (patch) | |
tree | 6460972879eebc6b0f12c774ddba5b515f94fdcc | |
parent | f8e7da39c14cb94714e00b25ec5f3fcc8f0de6fd (diff) | |
download | mate-terminal-394bb344739e947cfde70a487358728fb4ca26a2.tar.bz2 mate-terminal-394bb344739e947cfde70a487358728fb4ca26a2.tar.xz |
Fix implicit conversion changes signedness: 'gboolean' to 'guint'
-rw-r--r-- | src/terminal-encoding.c | 4 | ||||
-rw-r--r-- | src/terminal-window.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/terminal-encoding.c b/src/terminal-encoding.c index 36b9aca..a470c99 100644 --- a/src/terminal-encoding.c +++ b/src/terminal-encoding.c @@ -159,8 +159,8 @@ terminal_encoding_new (const char *charset, encoding->refcount = 1; encoding->id = g_strdup (charset); encoding->name = g_strdup (display_name); - encoding->valid = encoding->validity_checked = force_valid; - encoding->is_custom = is_custom; + encoding->valid = encoding->validity_checked = (force_valid != FALSE); + encoding->is_custom = (is_custom != FALSE); encoding->is_active = FALSE; return encoding; diff --git a/src/terminal-window.c b/src/terminal-window.c index 5540557..3482680 100644 --- a/src/terminal-window.c +++ b/src/terminal-window.c @@ -2725,7 +2725,7 @@ terminal_window_set_menubar_visible (TerminalWindow *window, if (setting == priv->menubar_visible) return; - priv->menubar_visible = setting; + priv->menubar_visible = (setting != FALSE); G_GNUC_BEGIN_IGNORE_DEPRECATIONS; action = gtk_action_group_get_action (priv->action_group, "ViewMenubar"); |