summaryrefslogtreecommitdiff
path: root/src/lib/elm_panel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elm_panel.c')
-rw-r--r--src/lib/elm_panel.c18
1 files changed, 15 insertions, 3 deletions
diff --git a/src/lib/elm_panel.c b/src/lib/elm_panel.c
index c8621b5fa..c2ef9c55d 100644
--- a/src/lib/elm_panel.c
+++ b/src/lib/elm_panel.c
@@ -864,7 +864,11 @@ _elm_panel_elm_container_content_set(Eo *obj, Elm_Panel_Data *sd, const char *pa
864 if (part) 864 if (part)
865 { 865 {
866 // "elm.swallow.event" part is used for internal needs and should not be changed. 866 // "elm.swallow.event" part is used for internal needs and should not be changed.
867 if (!strcmp(part, "elm.swallow.event")) return EINA_FALSE; 867 if (!strcmp(part, "elm.swallow.event"))
868 {
869 ERR("elm.swallow.event is being used for panel internally. Don't touch this part!");
870 return EINA_FALSE;
871 }
868 if (strcmp(part, "default")) 872 if (strcmp(part, "default"))
869 { 873 {
870 Eina_Bool int_ret = EINA_TRUE; 874 Eina_Bool int_ret = EINA_TRUE;
@@ -895,7 +899,11 @@ _elm_panel_elm_container_content_get(Eo *obj, Elm_Panel_Data *sd, const char *pa
895 if (part) 899 if (part)
896 { 900 {
897 // "elm.swallow.event" part is used for internal needs and should not be changed. 901 // "elm.swallow.event" part is used for internal needs and should not be changed.
898 if (!strcmp(part, "elm.swallow.event")) return NULL; 902 if (!strcmp(part, "elm.swallow.event"))
903 {
904 ERR("elm.swallow.event is being used for panel internally. Don't touch this part!");
905 return NULL;
906 }
899 if (strcmp(part, "default")) 907 if (strcmp(part, "default"))
900 { 908 {
901 Evas_Object *ret = NULL; 909 Evas_Object *ret = NULL;
@@ -915,7 +923,11 @@ _elm_panel_elm_container_content_unset(Eo *obj, Elm_Panel_Data *sd, const char *
915 if (part) 923 if (part)
916 { 924 {
917 // "elm.swallow.event" part is used for internal needs and should not be changed. 925 // "elm.swallow.event" part is used for internal needs and should not be changed.
918 if (!strcmp(part, "elm.swallow.event")) return NULL; 926 if (!strcmp(part, "elm.swallow.event"))
927 {
928 ERR("elm.swallow.event is being used for panel internally. Don't touch this part!");
929 return NULL;
930 }
919 if (strcmp(part, "default")) 931 if (strcmp(part, "default"))
920 { 932 {
921 eo_do_super(obj, MY_CLASS, 933 eo_do_super(obj, MY_CLASS,