projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a13b437
)
Remove unused arguments to EmacsView.AfterResize
author
Po Lu
<luangruo@yahoo.com>
Wed, 24 Nov 2021 11:03:58 +0000
(11:03 +0000)
committer
Po Lu
<luangruo@yahoo.com>
Wed, 24 Nov 2021 11:16:44 +0000
(11:16 +0000)
* src/haiku_support.cc (EmacsView.AfterResize): Remove
unused arguments.
(BView_resize_to): Stop passing unused arguments.
src/haiku_support.cc
patch
|
blob
|
history
diff --git
a/src/haiku_support.cc
b/src/haiku_support.cc
index 5f9fe7e234fb703f8f84b9f62c4b2c54ef06974b..8768635069d1e0d1664d7fa744d52760cdfec241 100644
(file)
--- a/
src/haiku_support.cc
+++ b/
src/haiku_support.cc
@@
-979,7
+979,7
@@
public:
}
void
- AfterResize (
float newWidth, float newHeight
)
+ AfterResize (
void
)
{
if (offscreen_draw_view)
{
@@
-1657,7
+1657,7
@@
BView_resize_to (void *view, int width, int height)
if (!vw->LockLooper ())
gui_abort ("Failed to lock view for resize");
vw->ResizeTo (width, height);
- vw->AfterResize (
width, height
);
+ vw->AfterResize ();
vw->UnlockLooper ();
}