diff options
author | rbuj <[email protected]> | 2021-10-26 22:11:58 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2022-07-09 10:31:19 +0200 |
commit | 6207251ec22fd96a0121cd5d2837dd4d0ada3c3e (patch) | |
tree | b36e2be6efda515593874a680c934a9c96a800ce | |
parent | d9059fbbd9aec9f6f62d3419c932304884c81158 (diff) | |
download | mate-menus-6207251ec22fd96a0121cd5d2837dd4d0ada3c3e.tar.bz2 mate-menus-6207251ec22fd96a0121cd5d2837dd4d0ada3c3e.tar.xz |
fix build error: invalid operands to binary expression
-rw-r--r-- | libmenu/matemenu-tree.c | 2 |
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); |