Lines Matching refs:req
1397 GtkRequisition req, object_req, parent_req;
1400 gdl_dock_item_preferred_size (GDL_DOCK_ITEM (requestor), &req);
1418 if (req.width < 2)
1420 req.width = object_req.width;
1421 g_object_set (requestor, "preferred-width", req.width, NULL);
1423 if (req.height < 2)
1425 req.height = NEW_DOCK_ITEM_RATIO * object_req.height;
1426 g_object_set (requestor, "preferred-height", req.height, NULL);
1428 if (req.width > 1)
1429 g_object_set (object, "preferred-width", req.width, NULL);
1430 if (req.height > 1)
1432 object_req.height - req.height, NULL);
1436 if (req.height < 2)
1438 req.height = object_req.height;
1439 g_object_set (requestor, "preferred-height", req.height, NULL);
1441 if (req.width < 2)
1443 req.width = NEW_DOCK_ITEM_RATIO * object_req.width;
1444 g_object_set (requestor, "preferred-width", req.width, NULL);
1446 if (req.height > 1)
1447 g_object_set (object, "preferred-height", req.height, NULL);
1448 if (req.width > 1)
1450 object_req.width - req.width, NULL);
1453 if (req.height < 2)
1455 req.height = object_req.height;
1456 g_object_set (requestor, "preferred-height", req.height, NULL);
1458 if (req.width < 2)
1460 req.width = object_req.width;
1461 g_object_set (requestor, "preferred-width", req.width, NULL);
1463 if (req.height > 1)
1464 g_object_set (object, "preferred-height", req.height, NULL);
1465 if (req.width > 1)
1466 g_object_set (object, "preferred-width", req.width, NULL);
1492 pref_size = req.height;
1504 pref_size = req.width;
2340 * @req: A pointer to a #GtkRequisition into which the preferred size
2347 GtkRequisition *req)
2351 if (!req)
2356 req->width = MAX (item->_priv->preferred_width, allocation.width);
2357 req->height = MAX (item->_priv->preferred_height, allocation.height);