diff options
author | Ted Gould <ted@gould.cx> | 2011-08-22 14:58:27 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-08-22 14:58:27 -0500 |
commit | f545dc8264a5b1986673c583c59f87a97b866833 (patch) | |
tree | 4bd61a99ef382119ca00264a799e9892925e358a /libdbusmenu-gtk | |
parent | ffac09f199ebffe13b1032eaf03e3d6f00a9da78 (diff) | |
download | libdbusmenu-f545dc8264a5b1986673c583c59f87a97b866833.tar.gz libdbusmenu-f545dc8264a5b1986673c583c59f87a97b866833.tar.bz2 libdbusmenu-f545dc8264a5b1986673c583c59f87a97b866833.zip |
Add in a disposition and set it at init
Diffstat (limited to 'libdbusmenu-gtk')
-rw-r--r-- | libdbusmenu-gtk/genericmenuitem.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libdbusmenu-gtk/genericmenuitem.c b/libdbusmenu-gtk/genericmenuitem.c index 3652ceb..f939332 100644 --- a/libdbusmenu-gtk/genericmenuitem.c +++ b/libdbusmenu-gtk/genericmenuitem.c @@ -40,6 +40,7 @@ License version 3 and version 2.1 along with this program. If not, see struct _GenericmenuitemPrivate { GenericmenuitemCheckType check_type; GenericmenuitemState state; + GenericmenuitemDisposition disposition; }; /* Private macro */ @@ -102,6 +103,7 @@ genericmenuitem_init (Genericmenuitem *self) self->priv->check_type = GENERICMENUITEM_CHECK_TYPE_NONE; self->priv->state = GENERICMENUITEM_STATE_UNCHECKED; + self->priv->disposition = GENERICMENUITEM_DISPOSITION_NORMAL; return; } |