tasn pushed a commit to branch master.

http://git.enlightenment.org/tools/clouseau.git/commit/?id=91edbfe2439673e21e818f48b1f1fffc6d22b6cf

commit 91edbfe2439673e21e818f48b1f1fffc6d22b6cf
Author: Tom Hacohen <t...@stosb.com>
Date:   Wed Nov 6 17:10:08 2013 +0000

    client: Also delete the backtrace label.
    
    I forgot to remove that when removing the backtrace panel.
---
 src/bin/clouseau_client.c             |  5 +----
 src/lib/clouseau_object_information.c | 17 +----------------
 src/lib/clouseau_private2.h           |  2 +-
 3 files changed, 3 insertions(+), 21 deletions(-)

diff --git a/src/bin/clouseau_client.c b/src/bin/clouseau_client.c
index 7638dc5..c41c23f 100644
--- a/src/bin/clouseau_client.c
+++ b/src/bin/clouseau_client.c
@@ -74,7 +74,6 @@ struct _Gui_Elementns
    Evas_Object *bt_save;
    Evas_Object *dd_list;
    Evas_Object *gl;
-   Evas_Object *lb;  /* Label showing backtrace */
    Evas_Object *prop_list;
    Evas_Object *connect_inwin;
    Evas_Object *save_inwin;
@@ -246,8 +245,6 @@ _load_gui_with_list(Gui_Elements *g, Eina_List *trees)
    Eina_List *l;
    Clouseau_Tree_Item *treeit;
 
-   elm_object_text_set(g->lb, NULL); /* Clear backtrace label */
-
    if (!trees)
      return EINA_TRUE;
 
@@ -1240,7 +1237,7 @@ _gl_selected(void *data, Evas_Object *pobj EINA_UNUSED, 
void *event_info)
    if (g->gl_it != event_info)
      {
         elm_genlist_clear(prop_list);
-        clouseau_object_information_list_populate(treeit, g->lb);
+        clouseau_object_information_list_populate(treeit);
         g->gl_it = event_info;
 
           {
diff --git a/src/lib/clouseau_object_information.c 
b/src/lib/clouseau_object_information.c
index df3e6af..c23fea0 100644
--- a/src/lib/clouseau_object_information.c
+++ b/src/lib/clouseau_object_information.c
@@ -214,7 +214,7 @@ static const struct {
 };
 
 EAPI void
-clouseau_object_information_list_populate(Clouseau_Tree_Item *treeit, 
Evas_Object *lb)
+clouseau_object_information_list_populate(Clouseau_Tree_Item *treeit)
 {
    Clouseau_Object *oinfo;
    char buf[1024];
@@ -366,21 +366,6 @@ 
clouseau_object_information_list_populate(Clouseau_Tree_Item *treeit, Evas_Objec
              EO_DBG_INFO_APPEND(group, "Text", EINA_VALUE_TYPE_STRING, 
oinfo->extra_props.u.textblock.text);
           }
 
-        /* Update backtrace text */
-        if (oinfo->evas_props.bt)
-          {  /* Build backtrace label */
-             char *k = malloc(strlen("Creation backtrace:\n\n") +
-                   strlen(oinfo->evas_props.bt) + 1);
-
-             sprintf(k, "Creation backtrace:\n\n%s", oinfo->evas_props.bt);
-             char *p = elm_entry_utf8_to_markup(k);
-             elm_object_text_set(lb, p);
-             free(p);
-             free(k);
-          }
-        else
-           elm_object_text_set(lb, NULL);
-
         /* Convert Old format to Clouseau_eo */
         treeit->new_eo_info = root;
      }
diff --git a/src/lib/clouseau_private2.h b/src/lib/clouseau_private2.h
index 586de3a..b229e17 100644
--- a/src/lib/clouseau_private2.h
+++ b/src/lib/clouseau_private2.h
@@ -129,5 +129,5 @@ struct _Clouseau_Object
 void clouseau_object_desc_shutdown(void);
 
 /* Public */
-EAPI void clouseau_object_information_list_populate(Clouseau_Tree_Item 
*treeit, Evas_Object *lb);
+EAPI void clouseau_object_information_list_populate(Clouseau_Tree_Item 
*treeit);
 #endif

-- 


Reply via email to