gtkalignment.c



Hi,

In GTK 2.4.3, gtkalignment.c  :
Line 450 and 451 :

  requisition->width = GTK_CONTAINER
(widget)->border_width * 2;
  requisition->height = GTK_CONTAINER
(widget)->border_width * 2;

why line 451 is not like ? :
requisition->height = GTK_CONTAINER
(widget)->border_height * 2;

Also for lines 499 and 500 :
      width = allocation->width - padding_horizontal -
2 * border_width;
      height = allocation->height - padding_vertical -
2 * border_width;

the same for line 500, should it be ?:
      height = allocation->height - padding_vertical -
2 * border_height;

If somebody can answer to this, thanks to him or her.
Regards,

Benoit "GTKool" Carpentier


	

	
		
Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! Messenger sur http://fr.messenger.yahoo.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]