replace _onConfigure with _onSizeAllocate

This commit is contained in:
yggverse 2024-07-28 15:00:02 +03:00
parent de3ce10811
commit 5f5608e7ec
3 changed files with 6 additions and 6 deletions

View file

@ -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;

View file

@ -248,7 +248,7 @@ class Gemtext extends Markup
);
}
protected function _onConfigure(
protected function _onSizeAllocate(
GtkLabel $label,
GdkEvent $event
): bool

View file

@ -25,7 +25,7 @@ class Plain extends Markup
);
}
protected function _onConfigure(
protected function _onSizeAllocate(
GtkLabel $label,
GdkEvent $event
): bool