[gnome-builder] libide/tweaks: fix pointer comparison
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] libide/tweaks: fix pointer comparison
- Date: Sat, 30 Jul 2022 00:20:40 +0000 (UTC)
commit f71a2d626755ac320f70cf19cb1490b27bac3df6
Author: Christian Hergert <chergert redhat com>
Date: Fri Jul 29 17:15:37 2022 -0700
libide/tweaks: fix pointer comparison
src/libide/tweaks/ide-tweaks-item.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libide/tweaks/ide-tweaks-item.c b/src/libide/tweaks/ide-tweaks-item.c
index 49cf35417..c1cfa55fc 100644
--- a/src/libide/tweaks/ide-tweaks-item.c
+++ b/src/libide/tweaks/ide-tweaks-item.c
@@ -128,7 +128,7 @@ ide_tweaks_item_set_keywords (IdeTweaksItem *self,
g_return_if_fail (IDE_IS_TWEAKS_ITEM (self));
- if (keywords == priv->keywords)
+ if (keywords == (const char * const *)priv->keywords)
return;
g_strfreev (priv->keywords);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]