summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/examples/combobox_example_01.c25
1 files changed, 1 insertions, 24 deletions
diff --git a/src/examples/combobox_example_01.c b/src/examples/combobox_example_01.c
index e6ae1c9af..1bd2a92cb 100644
--- a/src/examples/combobox_example_01.c
+++ b/src/examples/combobox_example_01.c
@@ -53,20 +53,6 @@ gl_text_get(void *data, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUS
53 return strdup(buf); 53 return strdup(buf);
54} 54}
55 55
56static Evas_Object *gl_content_get(void *data EINA_UNUSED, Evas_Object *obj,
57 const char *part)
58{
59 char buf[PATH_MAX];
60 Evas_Object *ic = elm_icon_add(obj);
61 if (!strcmp(part, "elm.swallow.end"))
62 snprintf(buf, sizeof(buf), "%s/images/bubble.png", elm_app_data_dir_get());
63 else
64 snprintf(buf, sizeof(buf), "%s/images/logo_small.png", elm_app_data_dir_get());
65 elm_image_file_set(ic, buf, NULL);
66 evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
67 return ic;
68}
69
70static Eina_Bool gl_state_get(void *data EINA_UNUSED, 56static Eina_Bool gl_state_get(void *data EINA_UNUSED,
71 Evas_Object *obj EINA_UNUSED, 57 Evas_Object *obj EINA_UNUSED,
72 const char *part EINA_UNUSED) 58 const char *part EINA_UNUSED)
@@ -87,15 +73,6 @@ gl_filter_get(void *data, Evas_Object *obj EINA_UNUSED, void *key)
87 return EINA_FALSE; 73 return EINA_FALSE;
88} 74}
89 75
90static void
91_gl_filter_finished_cb(void *data EINA_UNUSED,
92 Evas_Object *obj EINA_UNUSED,
93 void *event_info EINA_UNUSED)
94{
95 printf("Filter finished\n");
96}
97
98
99EAPI_MAIN int 76EAPI_MAIN int
100elm_main(int argc EINA_UNUSED, char **argv) 77elm_main(int argc EINA_UNUSED, char **argv)
101{ 78{
@@ -155,4 +132,4 @@ elm_main(int argc EINA_UNUSED, char **argv)
155 132
156 return 0; 133 return 0;
157} 134}
158ELM_MAIN() \ No newline at end of file 135ELM_MAIN()