[nautilus/wip/csoriano/search-popover: 13/16] search-popover: G_N_ELEMENTS doesn't require NULL end



commit c0a2ab3bbb462886db3a2f8fa4786a98e41cfc60
Author: Carlos Soriano <csoriano gnome org>
Date:   Thu Jan 28 11:22:44 2016 +0100

    search-popover: G_N_ELEMENTS doesn't require NULL end
    
    It's only for static arrays, which means it uses the stack
    size for knowing the number of elements.

 src/nautilus-search-popover.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/nautilus-search-popover.c b/src/nautilus-search-popover.c
index 57a63a2..ee9551e 100644
--- a/src/nautilus-search-popover.c
+++ b/src/nautilus-search-popover.c
@@ -216,11 +216,6 @@ struct {
       "video/x-real-video",
       NULL
     }
-  },
-  { NULL,
-    {
-      NULL
-    }
   }
 };
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]