Browse Source

replace _onConfigure with _onSizeAllocate

PHP-GTK3
yggverse 4 months ago
parent
commit
5f5608e7ec
  1. 8
      src/Abstract/Entity/Browser/Container/Page/Content/Markup.php
  2. 2
      src/Entity/Browser/Container/Page/Content/Gemtext.php
  3. 2
      src/Entity/Browser/Container/Page/Content/Plain.php

8
src/Abstract/Entity/Browser/Container/Page/Content/Markup.php

@ -78,12 +78,12 @@ abstract class Markup @@ -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 @@ -107,7 +107,7 @@ abstract class Markup
return false;
}
abstract protected function _onConfigure(
abstract protected function _onSizeAllocate(
GtkLabel $label,
GdkEvent $event
): bool;

2
src/Entity/Browser/Container/Page/Content/Gemtext.php

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

2
src/Entity/Browser/Container/Page/Content/Plain.php

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

Loading…
Cancel
Save