adapt to ctx item change
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 16 Aug 2011 12:39:30 +0000 (12:39 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 16 Aug 2011 12:39:30 +0000 (12:39 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@62500 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/examples/ctxpopup_example_01.c

index 6c340e7..6e9406b 100644 (file)
@@ -12,7 +12,7 @@ _ctxpopup_item_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *even
    printf("ctxpopup item selected: %s\n", elm_ctxpopup_item_label_get(event_info));
 }
 
-Elm_Ctxpopup_Item *item_new(Evas_Object *ctxpopup, const char * label, const char *icon)
+Elm_Object_Item *item_new(Evas_Object *ctxpopup, const char * label, const char *icon)
 {
    Evas_Object *ic = elm_icon_add(ctxpopup);
    elm_icon_standard_set(ic, icon);
@@ -24,7 +24,7 @@ static void
 _list_item_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
 {
    Evas_Object *ctxpopup;
-   Elm_Ctxpopup_Item *it;
+   Elm_Object_Item *it;
    Evas_Coord x,y;
 
    ctxpopup = elm_ctxpopup_add(obj);
@@ -50,7 +50,7 @@ static void
 _list_item_cb2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
 {
    Evas_Object *ctxpopup;
-   Elm_Ctxpopup_Item *it;
+   Elm_Object_Item *it;
    Evas_Coord x,y;
 
    ctxpopup = elm_ctxpopup_add(obj);