Lines Matching defs:alloc
790 GtkAllocation alloc;
801 gtk_widget_get_allocation (GTK_WIDGET (dock), &alloc);
805 rel_x = x - alloc.x;
806 rel_y = y - alloc.y;
812 if (rel_x > 0 && rel_x < alloc.width &&
813 rel_y > 0 && rel_y < alloc.height) {
819 my_request.rect.x = alloc.x + bw;
820 my_request.rect.y = alloc.y + bw;
821 my_request.rect.width = alloc.width - 2*bw;
822 my_request.rect.height = alloc.height - 2*bw;
836 } else if (rel_x > alloc.width - (gint)bw) {
843 } else if (rel_y > alloc.height - (gint)bw) {