elm widget.c: Refactorying. Use same variable name as others. Easier to read the...
authorseoz <seoz@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 20 Oct 2011 07:31:37 +0000 (07:31 +0000)
committerseoz <seoz@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 20 Oct 2011 07:31:37 +0000 (07:31 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@64192 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elm_widget.c

index 1d10c4c..c317af9 100644 (file)
@@ -1034,9 +1034,9 @@ elm_widget_resize_object_set(Evas_Object *obj,
      }
 
    // set the resize obj up
-   if (_elm_widget_is(sd->resize_obj))
+   if (_elm_widget_is(sobj))
      {
-        Smart_Data *sd2 = evas_object_smart_data_get(sd->resize_obj);
+        Smart_Data *sd2 = evas_object_smart_data_get(sobj);
         if (sd2)
           {
              sd2->parent_obj = obj;