aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/call_window/call_window.vala
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2023-10-07 14:29:26 +0200
committerfiaxh <git@lightrise.org>2023-10-07 14:34:23 +0200
commit1e167eeea67f18f3d5788dc34d97d94e6f401499 (patch)
treedf73a70a25fb02d7a2e70623b3ab5ecbe86ced53 /main/src/ui/call_window/call_window.vala
parent0c45387bf903e5b0d02502d27642dd2a78aa6539 (diff)
downloaddino-1e167eeea67f18f3d5788dc34d97d94e6f401499.tar.gz
dino-1e167eeea67f18f3d5788dc34d97d94e6f401499.zip
Fix some compiler warnings
Diffstat (limited to 'main/src/ui/call_window/call_window.vala')
-rw-r--r--main/src/ui/call_window/call_window.vala3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/src/ui/call_window/call_window.vala b/main/src/ui/call_window/call_window.vala
index 14b67449..08ea4b21 100644
--- a/main/src/ui/call_window/call_window.vala
+++ b/main/src/ui/call_window/call_window.vala
@@ -253,11 +253,12 @@ namespace Dino.Ui {
}
private bool on_get_child_position(Widget widget, out Gdk.Rectangle allocation) {
+ allocation = Gdk.Rectangle();
+
if (widget == own_video_box) {
int width = get_size(Orientation.HORIZONTAL);
int height = get_size(Orientation.VERTICAL);
- allocation = Gdk.Rectangle();
allocation.width = own_video_width;
allocation.height = own_video_height;
allocation.x = width - own_video_width - 20;