From a7295dd2c5647f2ed599380e67c07d2281f4fd08 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Thu, 4 Feb 2010 21:41:32 -0800 Subject: Start at '1' instead of '0' --- libdbusmenu-glib/menuitem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libdbusmenu-glib/menuitem.c b/libdbusmenu-glib/menuitem.c index 6b8b505..1f4038e 100644 --- a/libdbusmenu-glib/menuitem.c +++ b/libdbusmenu-glib/menuitem.c @@ -251,7 +251,7 @@ g_value_transform_STRING_INT (const GValue * in, GValue * out) return; } -static gint menuitem_next_id = 0; +static gint menuitem_next_id = 1; /* A small little function to both clear the insides of a value as well as the memory it itself uses. */ -- cgit v1.2.3