From 79af394c30ee78935ab059bcecc3b639a337aa39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alberts=20Muktup=C4=81vels?= Date: Fri, 28 Apr 2017 14:07:24 +0300 Subject: tasklist: fix 'comparison between signed and unsigned integer' warnings --- libwnck/tasklist.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libwnck/tasklist.c b/libwnck/tasklist.c index 7463af1..34d7d9b 100644 --- a/libwnck/tasklist.c +++ b/libwnck/tasklist.c @@ -157,8 +157,8 @@ struct _WnckTask guint button_glow; - guint row; - guint col; + gint row; + gint col; guint resize_idle_id; }; @@ -3163,7 +3163,7 @@ wnck_task_scale_icon (GdkPixbuf *orig, gboolean minimized) w = gdk_pixbuf_get_width (orig); h = gdk_pixbuf_get_height (orig); - if (h != MINI_ICON_SIZE || + if (h != (int) MINI_ICON_SIZE || !gdk_pixbuf_get_has_alpha (orig)) { double scale; @@ -3593,7 +3593,7 @@ wnck_task_drag_data_received (GtkWidget *widget, if (target_task->window == found_window) { GtkSettings *settings; - gint double_click_time; + guint double_click_time; settings = gtk_settings_get_for_screen (gtk_widget_get_screen (GTK_WIDGET (tasklist))); double_click_time = 0; -- cgit v1.2.1