summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_widget_panel.h
diff options
context:
space:
mode:
authorJaeun Choi <jaeun12.choi@samsung.com>2018-01-16 13:19:36 +0900
committerJaeun Choi <jaeun12.choi@samsung.com>2018-01-16 13:19:36 +0900
commit65b828b050abc56a1aee4f722535de3e0bea5fbb (patch)
treedfb926a26d8f64d98c6e0fd9576cab7ae9bd517b /src/lib/elementary/elm_widget_panel.h
parent631eb3701d86b1d5b09b4a54c96b55a70fbe777e (diff)
elm_panel: prevent redundant callback function addition or deletion
there is a need to check if callback functions already exist or not before adding or deleting them, because they are added or deleted at two points: in _elm_panel_scrollable_set() and _elm_panel_elm_widget_disable().
Diffstat (limited to 'src/lib/elementary/elm_widget_panel.h')
-rw-r--r--src/lib/elementary/elm_widget_panel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_widget_panel.h b/src/lib/elementary/elm_widget_panel.h
index 1684748..6aacb9b 100644
--- a/src/lib/elementary/elm_widget_panel.h
+++ b/src/lib/elementary/elm_widget_panel.h
@@ -46,6 +46,7 @@ struct _Elm_Panel_Data
46 Eina_Bool delete_me : 1; 46 Eina_Bool delete_me : 1;
47 Eina_Bool scrollable : 1; 47 Eina_Bool scrollable : 1;
48 Eina_Bool freeze: 1; 48 Eina_Bool freeze: 1;
49 Eina_Bool callback_added: 1;
49}; 50};
50 51
51/** 52/**