make sub-object delete failure messages even more useful
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 5 Dec 2011 03:27:32 +0000 (03:27 +0000)
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 5 Dec 2011 03:27:32 +0000 (03:27 +0000)
SVN revision: 65882

src/lib/elm_widget.c

index 1c038f2..248691e 100644 (file)
@@ -972,9 +972,9 @@ elm_widget_sub_object_del(Evas_Object *obj,
      {
         static int abort_on_warn = -1;
         ERR("removing sub object %p (%s) from parent %p (%s), "
-            "but elm-parent is different %p!",
+            "but elm-parent is different %p (%s)!",
             sobj, elm_widget_type_get(sobj), obj, elm_widget_type_get(obj),
-            sobj_parent);
+            sobj_parent, elm_widget_type_get(sobj_parent));
         if (EINA_UNLIKELY(abort_on_warn == -1))
           {
              if (getenv("ELM_ERROR_ABORT")) abort_on_warn = 1;