summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-26 22:11:58 +0200
committerraveit65 <[email protected]>2022-07-09 10:31:19 +0200
commit6207251ec22fd96a0121cd5d2837dd4d0ada3c3e (patch)
treeb36e2be6efda515593874a680c934a9c96a800ce
parentd9059fbbd9aec9f6f62d3419c932304884c81158 (diff)
downloadmate-menus-1.26.tar.bz2
mate-menus-1.26.tar.xz
fix build error: invalid operands to binary expression1.26
-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 88d933d..1965982 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);