X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=daemon%2Fnotifications%2Fnoti_gridbox.c;h=fbd245793bbc64c994af6ff2636a7746b66db9ed;hb=989787711ac7a9bf7ab05bcceda1e28e19b6e2f0;hp=c44f55bf0935ef1006f64268bbd82f0be3da37e4;hpb=303e9becb49a79d53db9c6a5c1d8ba9c333cb45d;p=apps%2Fcore%2Fpreloaded%2Fquickpanel.git diff --git a/daemon/notifications/noti_gridbox.c b/daemon/notifications/noti_gridbox.c index c44f55b..fbd2457 100755 --- a/daemon/notifications/noti_gridbox.c +++ b/daemon/notifications/noti_gridbox.c @@ -1,7 +1,7 @@ /* * Copyright 2012 Samsung Electronics Co., Ltd * - * Licensed under the Flora License, Version 1.0 (the License); + * Licensed under the Flora License, Version 1.1 (the License); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * @@ -38,8 +38,8 @@ typedef struct _gridbox_info_layout { int padding_between; int child_w; int child_h; - int limit_w; double scale; + int limit_w; } gridbox_info_layout; typedef struct _gridbox_info_animation { @@ -104,9 +104,6 @@ static void _gridbox_layout(Evas_Object *o, Evas_Object_Box_Data *priv, //box geometry evas_object_geometry_get(o, &x, &y, &w, &h); - //set info about children - opt = eina_list_data_get(priv->children); - num_padding_between = info_layout->n_per_rows / 2; num_padding_between += (info_layout->n_per_rows > 1 && (info_layout->n_per_rows % 2) > 0) ? 1 : 0; @@ -115,7 +112,7 @@ static void _gridbox_layout(Evas_Object *o, Evas_Object_Box_Data *priv, info_layout->child_w = child_w; - DBG("grid layout children:%d %d", info_layout->child_w, info_layout->child_h); + DBG("grid layout children pos:%d %d", info_layout->child_w, info_layout->child_h); int order_children = 1; EINA_LIST_FOREACH_SAFE(priv->children, l, l_next, opt)