]> Pileus Git - ~andy/gtk/commit
Fix a problem in GtkImage size allocation
authorMatthias Clasen <mclasen@redhat.com>
Sun, 18 Oct 2009 05:36:14 +0000 (01:36 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 18 Oct 2009 05:38:44 +0000 (01:38 -0400)
commit1dbfcf484ba15381263c53fcdf7fa0c023bf7477
tree62240c8abe29bbaf792c104e25bd50ae9081fb59
parent2f796df1eaded5cfeb9ea16ee11e0d0e106c7508
Fix a problem in GtkImage size allocation

When GtkMisc padding is set on an image, the optimization for only
recalculating size after a clear() breaks, since the requisition is
not (0, 0). We need a separate 'need_calc' flag.
gtk/gtkimage.c