Changeset View
Changeset View
Standalone View
Standalone View
src/lib/elementary/elc_ctxpopup.c
Show First 20 Lines • Show All 851 Lines • ▼ Show 20 Line(s) | |||||
852 | EOLIAN static void | 852 | EOLIAN static void | ||
853 | _elm_ctxpopup_item_elm_widget_item_disable(Eo *eo_ctxpopup_it, | 853 | _elm_ctxpopup_item_elm_widget_item_disable(Eo *eo_ctxpopup_it, | ||
854 | Elm_Ctxpopup_Item_Data *ctxpopup_it) | 854 | Elm_Ctxpopup_Item_Data *ctxpopup_it) | ||
855 | { | 855 | { | ||
856 | elm_object_item_disabled_set | 856 | elm_object_item_disabled_set | ||
857 | (ctxpopup_it->list_item, elm_wdg_item_disabled_get(eo_ctxpopup_it)); | 857 | (ctxpopup_it->list_item, elm_wdg_item_disabled_get(eo_ctxpopup_it)); | ||
858 | } | 858 | } | ||
859 | 859 | | |||
860 | EOLIAN static Eina_Bool | 860 | EOLIAN static void | ||
861 | _elm_ctxpopup_item_elm_widget_item_del_pre(Eo *eo_ctxpopup_it EINA_UNUSED, | 861 | _elm_ctxpopup_item_elm_widget_item_del_pre(Eo *eo_ctxpopup_it EINA_UNUSED, | ||
862 | Elm_Ctxpopup_Item_Data *ctxpopup_it) | 862 | Elm_Ctxpopup_Item_Data *ctxpopup_it) | ||
863 | { | 863 | { | ||
864 | ELM_CTXPOPUP_DATA_GET(WIDGET(ctxpopup_it), sd); | 864 | ELM_CTXPOPUP_DATA_GET(WIDGET(ctxpopup_it), sd); | ||
865 | if (!sd) return EINA_FALSE; | 865 | if (!sd) return ; | ||
866 | 866 | | |||
867 | if (ctxpopup_it->list_item) | 867 | if (ctxpopup_it->list_item) | ||
868 | { | 868 | { | ||
869 | efl_unref(ctxpopup_it->list_item); | 869 | efl_unref(ctxpopup_it->list_item); | ||
870 | efl_del(ctxpopup_it->list_item); | 870 | efl_del(ctxpopup_it->list_item); | ||
871 | ctxpopup_it->list_item = NULL; | 871 | ctxpopup_it->list_item = NULL; | ||
872 | } | 872 | } | ||
873 | 873 | | |||
874 | return EINA_TRUE; | 874 | return ; | ||
875 | } | 875 | } | ||
876 | 876 | | |||
877 | EOLIAN static void | 877 | EOLIAN static void | ||
878 | _elm_ctxpopup_item_elm_widget_item_signal_emit(Eo *eo_ctxpopup_it EINA_UNUSED, | 878 | _elm_ctxpopup_item_elm_widget_item_signal_emit(Eo *eo_ctxpopup_it EINA_UNUSED, | ||
879 | Elm_Ctxpopup_Item_Data *ctxpopup_it, | 879 | Elm_Ctxpopup_Item_Data *ctxpopup_it, | ||
880 | const char *emission, | 880 | const char *emission, | ||
881 | const char *source) | 881 | const char *source) | ||
882 | { | 882 | { | ||
▲ Show 20 Lines • Show All 703 Lines • Show Last 20 Lines |