adapt for libhandy >= 0.82 (#186)
This commit is contained in:
parent
366af1ef49
commit
204b687bfd
|
@ -23,10 +23,10 @@
|
|||
<property name="can_focus">False</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="HdyColumn" id="column">
|
||||
<object class="HdyClamp" id="clamp">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="maximum_width">628</property>
|
||||
<property name="maximum_size">628</property>
|
||||
<property name="linear_growth_width">628</property>
|
||||
<child>
|
||||
<object class="GtkBox" id="column_view">
|
||||
|
|
|
@ -17,7 +17,7 @@ public class Tootle.Views.Base : Box {
|
|||
[GtkChild]
|
||||
protected Box view;
|
||||
[GtkChild]
|
||||
protected Hdy.Column column;
|
||||
protected Hdy.Clamp clamp;
|
||||
[GtkChild]
|
||||
protected Box column_view;
|
||||
[GtkChild]
|
||||
|
@ -103,7 +103,7 @@ public class Tootle.Views.Base : Box {
|
|||
Allocation alloc;
|
||||
get_allocation (out alloc);
|
||||
|
||||
var target_w = column.maximum_width;
|
||||
var target_w = clamp.maximum_size;
|
||||
var view_w = alloc.width;
|
||||
|
||||
var ctx = view.get_style_context ();
|
||||
|
|
Loading…
Reference in New Issue