summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>2015-03-22 13:33:18 +0100
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>2015-10-05 12:56:26 +0200
commite2a9676f04177924df21c321fe077ca97bb74c17 (patch)
treea136934acd6b5e4fe8efcaea551b434b380e6ba0
parentef670bdcefe35d7108bcbadae830a46ee8a1eca7 (diff)
Settingspanel: fix warnings
-rw-r--r--src/bin/test_settingspane.c4
-rw-r--r--src/lib/elc_settingspane.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/test_settingspane.c b/src/bin/test_settingspane.c
index d3c554401..60be9efa1 100644
--- a/src/bin/test_settingspane.c
+++ b/src/bin/test_settingspane.c
@@ -249,13 +249,13 @@ test_settingspane(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *ev
249 it = elm_settingspane_item_append(sw, NULL, "Complex", 249 it = elm_settingspane_item_append(sw, NULL, "Complex",
250 "No we are not going to jump here into<br>complex numbers,<br>this is just a complex menu item,<br>this means it has childrens!", 250 "No we are not going to jump here into<br>complex numbers,<br>this is just a complex menu item,<br>this means it has childrens!",
251 buf, NULL, NULL); 251 buf, NULL, NULL);
252 elm_settingspane_item_keywords_set(it, eina_stringshare_add("Hardone,second")); 252 elm_settingspane_item_keywords_set(it, "Hardone,second");
253 snprintf(buf, sizeof(buf), "%s/images/%s", 253 snprintf(buf, sizeof(buf), "%s/images/%s",
254 elm_app_data_dir_get(), "bubble.png"); 254 elm_app_data_dir_get(), "bubble.png");
255 it2 = elm_settingspane_item_append(sw, NULL, "Child", 255 it2 = elm_settingspane_item_append(sw, NULL, "Child",
256 "This is a children entry", 256 "This is a children entry",
257 buf, NULL, it); 257 buf, NULL, it);
258 elm_settingspane_item_keywords_set(it2, eina_stringshare_add("Heavyone,Third,")); 258 elm_settingspane_item_keywords_set(it2, "Heavyone,Third,");
259 elm_settingspane_item_attach_panel(it2, content_cb[3], reset_cb, apply_cb); 259 elm_settingspane_item_attach_panel(it2, content_cb[3], reset_cb, apply_cb);
260 260
261 evas_object_show(sw); 261 evas_object_show(sw);
diff --git a/src/lib/elc_settingspane.c b/src/lib/elc_settingspane.c
index 92cd2a858..d1ad06ad8 100644
--- a/src/lib/elc_settingspane.c
+++ b/src/lib/elc_settingspane.c
@@ -845,7 +845,7 @@ _history_menu_show(Evas_Object *par, int x, int y)
845 { 845 {
846 if (it == wd->zero) continue; 846 if (it == wd->zero) continue;
847 IC_DATA(it); 847 IC_DATA(it);
848 elm_ctxpopup_item_append(ctx, id->name, NULL, _history_menu_item_sel_cb, it); //< FIXME 848 elm_ctxpopup_item_append(ctx, id->name, NULL, _history_menu_item_sel_cb, it);
849 } 849 }
850 850
851 evas_object_move(ctx, x, y); 851 evas_object_move(ctx, x, y);