mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +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(
|
||||
'configure-event',
|
||||
'size-allocate',
|
||||
function(
|
||||
GtkWindow $window,
|
||||
GtkLabel $label,
|
||||
GdkEvent $event
|
||||
) {
|
||||
return $this->_onConfigure(
|
||||
return $this->_onSizeAllocate(
|
||||
$label,
|
||||
$event
|
||||
);
|
||||
|
|
@ -107,7 +107,7 @@ abstract class Markup
|
|||
return false;
|
||||
}
|
||||
|
||||
abstract protected function _onConfigure(
|
||||
abstract protected function _onSizeAllocate(
|
||||
GtkLabel $label,
|
||||
GdkEvent $event
|
||||
): bool;
|
||||
|
|
|
|||
|
|
@ -248,7 +248,7 @@ class Gemtext extends Markup
|
|||
);
|
||||
}
|
||||
|
||||
protected function _onConfigure(
|
||||
protected function _onSizeAllocate(
|
||||
GtkLabel $label,
|
||||
GdkEvent $event
|
||||
): bool
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ class Plain extends Markup
|
|||
);
|
||||
}
|
||||
|
||||
protected function _onConfigure(
|
||||
protected function _onSizeAllocate(
|
||||
GtkLabel $label,
|
||||
GdkEvent $event
|
||||
): bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue