aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-switcher.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell-switcher.c')
-rw-r--r--shell/e-shell-switcher.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/e-shell-switcher.c b/shell/e-shell-switcher.c
index 2944aace0e..e1ed8606e5 100644
--- a/shell/e-shell-switcher.c
+++ b/shell/e-shell-switcher.c
@@ -57,7 +57,7 @@ static gint
shell_switcher_layout_actions (EShellSwitcher *switcher)
{
GtkAllocation *allocation;
- int num_btns = g_list_length (switcher->priv->proxies), btns_per_row;
+ gint num_btns = g_list_length (switcher->priv->proxies), btns_per_row;
GList **rows, *p;
gboolean icons_only;
gint row_number;
@@ -121,7 +121,7 @@ shell_switcher_layout_actions (EShellSwitcher *switcher)
/* Layout the buttons. */
for (i = row_last; i >= 0; i--) {
- int len, extra_width;
+ gint len, extra_width;
x = H_PADDING + allocation->x;
y -= max_height;