diff options
author | Ted Gould <ted@gould.cx> | 2010-02-04 21:41:32 -0800 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-02-04 21:41:32 -0800 |
commit | a7295dd2c5647f2ed599380e67c07d2281f4fd08 (patch) | |
tree | 1c3c257d447344f342a6eb6a36054a89eae54cec | |
parent | b43ae677fdd98a90e541212f22d752a3ba5c0877 (diff) | |
download | libdbusmenu-a7295dd2c5647f2ed599380e67c07d2281f4fd08.tar.gz libdbusmenu-a7295dd2c5647f2ed599380e67c07d2281f4fd08.tar.bz2 libdbusmenu-a7295dd2c5647f2ed599380e67c07d2281f4fd08.zip |
Start at '1' instead of '0'
-rw-r--r-- | libdbusmenu-glib/menuitem.c | 2 |
1 files changed, 1 insertions, 1 deletions
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. */ |