This needs to be implemented again using Evas_Smart_Cb like other widgets.
I discussed this with multibuttonentry contributor and she agreed to
remove "item,selected" and "item,clicked" smart callback and use
Evas_Smart_Cb instead.

Thanks.

Daniel Juyung Seo (SeoZ)

On Tue, Mar 6, 2012 at 9:14 PM, Enlightenment SVN
<no-re...@enlightenment.org> wrote:
> Log:
> ok warn-- in multibuttonentry - getting bored of seeing it.
>
>
>
> Author:       raster
> Date:         2012-03-06 04:14:35 -0800 (Tue, 06 Mar 2012)
> New Revision: 68817
> Trac:         http://trac.enlightenment.org/e/changeset/68817
>
> Modified:
>  trunk/elementary/src/lib/elc_multibuttonentry.c 
> trunk/elementary/src/lib/elc_multibuttonentry.h
>
> Modified: trunk/elementary/src/lib/elc_multibuttonentry.c
> ===================================================================
> --- trunk/elementary/src/lib/elc_multibuttonentry.c     2012-03-06 12:08:11 
> UTC (rev 68816)
> +++ trunk/elementary/src/lib/elc_multibuttonentry.c     2012-03-06 12:14:35 
> UTC (rev 68817)
> @@ -1529,25 +1529,25 @@
>  }
>
>  EAPI Elm_Object_Item *
> -elm_multibuttonentry_item_prepend(Evas_Object *obj, const char *label, 
> Evas_Smart_Cb func, void *data)
> +elm_multibuttonentry_item_prepend(Evas_Object *obj, const char *label, void 
> *data)
>  {
>    return _add_button_item(obj, label, MULTIBUTTONENTRY_POS_START, NULL, 
> data);
>  }
>
>  EAPI Elm_Object_Item *
> -elm_multibuttonentry_item_append(Evas_Object *obj, const char *label, 
> Evas_Smart_Cb func, void *data)
> +elm_multibuttonentry_item_append(Evas_Object *obj, const char *label, void 
> *data)
>  {
>    return _add_button_item(obj, label, MULTIBUTTONENTRY_POS_END, NULL, data);
>  }
>
>  EAPI Elm_Object_Item *
> -elm_multibuttonentry_item_insert_before(Evas_Object *obj, Elm_Object_Item 
> *before, const char *label, Evas_Smart_Cb func, void *data)
> +elm_multibuttonentry_item_insert_before(Evas_Object *obj, Elm_Object_Item 
> *before, const char *label, void *data)
>  {
>    return _add_button_item(obj, label, MULTIBUTTONENTRY_POS_BEFORE, before, 
> data);
>  }
>
>  EAPI Elm_Object_Item *
> -elm_multibuttonentry_item_insert_after(Evas_Object *obj, Elm_Object_Item 
> *after, const char *label, Evas_Smart_Cb func, void *data)
> +elm_multibuttonentry_item_insert_after(Evas_Object *obj, Elm_Object_Item 
> *after, const char *label, void *data)
>  {
>    return _add_button_item(obj, label, MULTIBUTTONENTRY_POS_AFTER, after, 
> data);
>  }
>
> Modified: trunk/elementary/src/lib/elc_multibuttonentry.h
> ===================================================================
> --- trunk/elementary/src/lib/elc_multibuttonentry.h     2012-03-06 12:08:11 
> UTC (rev 68816)
> +++ trunk/elementary/src/lib/elc_multibuttonentry.h     2012-03-06 12:14:35 
> UTC (rev 68817)
> @@ -113,7 +113,7 @@
>  *
>  * @ingroup Multibuttonentry
>  */
> -EAPI Elm_Object_Item *elm_multibuttonentry_item_prepend(Evas_Object *obj, 
> const char *label, Evas_Smart_Cb func, void *data);
> +EAPI Elm_Object_Item *elm_multibuttonentry_item_prepend(Evas_Object *obj, 
> const char *label, void *data);
>
>  /**
>  * Append a new item to the multibuttonentry
> @@ -126,7 +126,7 @@
>  *
>  * @ingroup Multibuttonentry
>  */
> -EAPI Elm_Object_Item *elm_multibuttonentry_item_append(Evas_Object *obj, 
> const char *label, Evas_Smart_Cb func, void *data);
> +EAPI Elm_Object_Item *elm_multibuttonentry_item_append(Evas_Object *obj, 
> const char *label, void *data);
>
>  /**
>  * Add a new item to the multibuttonentry before the indicated object
> @@ -141,7 +141,7 @@
>  *
>  * @ingroup Multibuttonentry
>  */
> -EAPI Elm_Object_Item *elm_multibuttonentry_item_insert_before(Evas_Object 
> *obj, Elm_Object_Item *before, const char *label, Evas_Smart_Cb func, void 
> *data);
> +EAPI Elm_Object_Item *elm_multibuttonentry_item_insert_before(Evas_Object 
> *obj, Elm_Object_Item *before, const char *label, void *data);
>
>  /**
>  * Add a new item to the multibuttonentry after the indicated object
> @@ -155,7 +155,7 @@
>  *
>  * @ingroup Multibuttonentry
>  */
> -EAPI Elm_Object_Item *elm_multibuttonentry_item_insert_after(Evas_Object 
> *obj, Elm_Object_Item *after, const char *label, Evas_Smart_Cb func, void 
> *data);
> +EAPI Elm_Object_Item *elm_multibuttonentry_item_insert_after(Evas_Object 
> *obj, Elm_Object_Item *after, const char *label, void *data);
>
>  /**
>  * Get a list of items in the multibuttonentry
>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> enlightenment-svn mailing list
> enlightenment-...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to