diff options
author | Ted Gould <ted@gould.cx> | 2010-02-04 22:06:09 -0800 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-02-04 22:06:09 -0800 |
commit | 4c4e8cb681afda3eb23befa3db88fd05852d7d6a (patch) | |
tree | ad424049b95ae05cb0d7f64b9773537908de248b | |
parent | 326cb8348ebed49490eac85ff1db88f4ecd2491d (diff) | |
download | libdbusmenu-4c4e8cb681afda3eb23befa3db88fd05852d7d6a.tar.gz libdbusmenu-4c4e8cb681afda3eb23befa3db88fd05852d7d6a.tar.bz2 libdbusmenu-4c4e8cb681afda3eb23befa3db88fd05852d7d6a.zip |
Changing the default for the property to be the same as the struct default.
-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 467d3f4..cacc0a8 100644 --- a/libdbusmenu-glib/menuitem.c +++ b/libdbusmenu-glib/menuitem.c @@ -214,7 +214,7 @@ dbusmenu_menuitem_class_init (DbusmenuMenuitemClass *klass) g_object_class_install_property (object_class, PROP_ID, g_param_spec_int(PROP_ID_S, "ID for the menu item", "This is a unique indentifier for the menu item.", - 0, 30000, 0, + -1, 30000, -1, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS)); /* Check transfer functions for GValue */ |