mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 17:45:28 +00:00
replace _onConfigure with _onSizeAllocate
This commit is contained in:
parent
de3ce10811
commit
5f5608e7ec
3 changed files with 6 additions and 6 deletions
|
|
@ -78,12 +78,12 @@ abstract class Markup
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->gtk->connect(
|
$this->gtk->connect(
|
||||||
'configure-event',
|
'size-allocate',
|
||||||
function(
|
function(
|
||||||
GtkWindow $window,
|
GtkLabel $label,
|
||||||
GdkEvent $event
|
GdkEvent $event
|
||||||
) {
|
) {
|
||||||
return $this->_onConfigure(
|
return $this->_onSizeAllocate(
|
||||||
$label,
|
$label,
|
||||||
$event
|
$event
|
||||||
);
|
);
|
||||||
|
|
@ -107,7 +107,7 @@ abstract class Markup
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
abstract protected function _onConfigure(
|
abstract protected function _onSizeAllocate(
|
||||||
GtkLabel $label,
|
GtkLabel $label,
|
||||||
GdkEvent $event
|
GdkEvent $event
|
||||||
): bool;
|
): bool;
|
||||||
|
|
|
||||||
|
|
@ -248,7 +248,7 @@ class Gemtext extends Markup
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function _onConfigure(
|
protected function _onSizeAllocate(
|
||||||
GtkLabel $label,
|
GtkLabel $label,
|
||||||
GdkEvent $event
|
GdkEvent $event
|
||||||
): bool
|
): bool
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ class Plain extends Markup
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function _onConfigure(
|
protected function _onSizeAllocate(
|
||||||
GtkLabel $label,
|
GtkLabel $label,
|
||||||
GdkEvent $event
|
GdkEvent $event
|
||||||
): bool
|
): bool
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue