1
0
Fork 0
mirror of git://slackware.nl/current.git synced 2025-01-14 08:01:11 +01:00
slackware-current/source/xfce/xfce4-terminal/71ecd2a721b059394edcfb316a20ac9d46a7b2cd.patch

30 lines
995 B
Diff
Raw Normal View History

From 71ecd2a721b059394edcfb316a20ac9d46a7b2cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ga=C3=ABl=20Bonithon?= <gael@xfce.org>
Date: Wed, 7 Feb 2024 16:10:05 +0100
Subject: [PATCH] prefs-dialog: Fix wrong assert
Related: #299
Fixes: de3e7aac72fdcd3e62d69f37ec2570e5d668950a
Closes: #300
---
terminal/terminal-preferences-dialog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/terminal/terminal-preferences-dialog.c b/terminal/terminal-preferences-dialog.c
index 86950b45..a1671400 100644
--- a/terminal/terminal-preferences-dialog.c
+++ b/terminal/terminal-preferences-dialog.c
@@ -1893,7 +1893,7 @@ terminal_preferences_dialog_presets_changed (TerminalPreferencesDialog *dialog,
GValue src = { 0, };
GValue dst = { 0, };
- g_return_if_fail (TERMINAL_IS_PREFERENCES_DIALOG (widget));
+ g_return_if_fail (TERMINAL_IS_PREFERENCES_DIALOG (dialog));
g_return_if_fail (GTK_IS_COMBO_BOX (widget));
combobox = GTK_COMBO_BOX (widget);
--
GitLab