]> Pileus Git - ~andy/gtk/commit
Reimplemented GtkExtendedLayout on GtkBin
authorTristan Van Berkom <tristan.van.berkom@gmail.com>
Fri, 9 Apr 2010 04:19:42 +0000 (00:19 -0400)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Fri, 9 Apr 2010 04:19:42 +0000 (00:19 -0400)
commit73056e92d8599cb5a4973ef43a2afc336a3e1dac
tree54f3fa927d635d8a7a94804bd8a3022200797047
parentb3303727adfca2452a4482631052bae006d0a72a
Reimplemented GtkExtendedLayout on GtkBin

Instead of implementing ->get_desired_size() on GtkBin, which
cant really be done because border widths are in the domain of
the concrete subclasses; here we implement only the get_height_for_width
and get_width_for_height apis - GtkBin subclasses whom might have a
variable border width depending on allocations need to write their
own height-for-width implementations.
gtk/gtkbin.c