From 3c091e58f52f704082a746b09441917d25bed7a5 Mon Sep 17 00:00:00 2001 From: Daniel Juyung Seo Date: Tue, 13 Dec 2011 15:27:55 +0000 Subject: [PATCH] envision, clouseau: Fixed build warnings. 1. Removed unused function and variable. 2. Applied elm changes. 3. Local variable initialize. SVN revision: 66165 --- src/lib/libclouseau.c | 4 ++-- src/lib/ui/obj_information.c | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/lib/libclouseau.c b/src/lib/libclouseau.c index 524c9a4..e38e30a 100644 --- a/src/lib/libclouseau.c +++ b/src/lib/libclouseau.c @@ -363,7 +363,7 @@ libclouseau_init(void) gl = elm_genlist_add(panes); evas_object_size_hint_align_set(gl, EVAS_HINT_FILL, EVAS_HINT_FILL); evas_object_size_hint_weight_set(gl, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); - elm_panes_content_left_set(panes, gl); + elm_object_part_content_set(panes, "left", gl); evas_object_show(gl); evas_object_smart_callback_add(bt, "clicked", _bt_clicked, gl); @@ -392,7 +392,7 @@ libclouseau_init(void) evas_object_size_hint_align_set(prop_list, EVAS_HINT_FILL, EVAS_HINT_FILL); evas_object_size_hint_weight_set(prop_list, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); - elm_panes_content_right_set(panes, prop_list); + elm_object_part_content_set(panes, "right", prop_list); evas_object_show(prop_list); } diff --git a/src/lib/ui/obj_information.c b/src/lib/ui/obj_information.c index bab3380..7d49fa7 100644 --- a/src/lib/ui/obj_information.c +++ b/src/lib/ui/obj_information.c @@ -563,7 +563,6 @@ clouseau_obj_information_list_populate(Tree_Item *treeit) { Inf_Tree_Item *tit; char buf[1024]; - const char *font; main_tit = calloc(1, sizeof(*main_tit)); main_tit->string = eina_stringshare_add("Textblock");