[gnome-panel] toplevel: remove unused parameters from update_hidden_position
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel] toplevel: remove unused parameters from update_hidden_position
- Date: Sat, 15 Feb 2020 23:08:19 +0000 (UTC)
commit f80a57c094031813165e684d58015a83f947094f
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sat Feb 15 21:55:46 2020 +0200
toplevel: remove unused parameters from update_hidden_position
gnome-panel/panel-toplevel.c | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
---
diff --git a/gnome-panel/panel-toplevel.c b/gnome-panel/panel-toplevel.c
index abb1b3951..62a19f689 100644
--- a/gnome-panel/panel-toplevel.c
+++ b/gnome-panel/panel-toplevel.c
@@ -1770,9 +1770,7 @@ panel_toplevel_update_auto_hide_position (PanelToplevel *toplevel,
static void
panel_toplevel_update_hidden_position (PanelToplevel *toplevel,
int *x,
- int *y,
- int *w,
- int *h)
+ int *y)
{
int width, height;
int min_hide_size;
@@ -2098,7 +2096,7 @@ panel_toplevel_update_position (PanelToplevel *toplevel)
panel_toplevel_update_auto_hide_position (toplevel, &x, &y, &w, &h, FALSE);
else
- panel_toplevel_update_hidden_position (toplevel, &x, &y, &w, &h);
+ panel_toplevel_update_hidden_position (toplevel, &x, &y);
if (w != -1)
toplevel->priv->geometry.width = w;
@@ -2927,9 +2925,7 @@ panel_toplevel_calculate_animation_end_geometry (PanelToplevel *toplevel)
else
panel_toplevel_update_hidden_position (toplevel,
&toplevel->priv->animation_end_x,
- &toplevel->priv->animation_end_y,
- &toplevel->priv->animation_end_width,
- &toplevel->priv->animation_end_height);
+ &toplevel->priv->animation_end_y);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]