elementary/ctxpopup, flipselector - applied elm_object_item common apis.
[framework/uifw/elementary.git] / doc / widgets / widget_preview_ctxpopup.c
index 5b71284..c2819d6 100644 (file)
@@ -20,7 +20,7 @@ ic = elm_icon_add(ctxpopup);
 elm_icon_standard_set(ic, "folder");
 elm_icon_scale_set(ic, EINA_FALSE, EINA_FALSE);
 Elm_Object_Item *it = elm_ctxpopup_item_append(ctxpopup, "Navigate to folder", ic, NULL, NULL);
-elm_ctxpopup_item_disabled_set(it, EINA_TRUE);
+elm_object_item_disabled_set(it, EINA_TRUE);
 
 evas_object_size_hint_weight_set(ctxpopup, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
 evas_object_move(ctxpopup, 0, 0);