summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-26 22:11:58 +0200
committerVictor Kareh <[email protected]>2022-03-23 11:00:54 -0400
commitf3106f4ce8ff63c97cb3800c5830a3b83e59df56 (patch)
tree4651af776de58e275ef2df160cb39ba734357596
parent3a1b9b3e93d1314695b8a11ac3f69d5dd130ec80 (diff)
downloadmate-menus-f3106f4ce8ff63c97cb3800c5830a3b83e59df56.tar.bz2
mate-menus-f3106f4ce8ff63c97cb3800c5830a3b83e59df56.tar.xz
fix build error: invalid operands to binary expression
-rw-r--r--libmenu/matemenu-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmenu/matemenu-tree.c b/libmenu/matemenu-tree.c
index 8e76047..9b47a65 100644
--- a/libmenu/matemenu-tree.c
+++ b/libmenu/matemenu-tree.c
@@ -1809,7 +1809,7 @@ gpointer
matemenu_tree_item_ref (gpointer itemp)
{
MateMenuTreeItem* item = (MateMenuTreeItem*) itemp;
- g_return_val_if_fail(item != NULL || *item != NULL, NULL);
+ g_return_val_if_fail(item != NULL, NULL);
g_return_val_if_fail(item->refcount > 0, NULL);
g_atomic_int_inc (&item->refcount);