diff options
author | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2017-04-28 14:07:24 +0300 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2017-04-28 14:07:24 +0300 |
commit | 79af394c30ee78935ab059bcecc3b639a337aa39 (patch) | |
tree | df7c8d68cc2ccde16559284458c49e16ac019f2b | |
parent | 8862d89846a9a22f324a16209fadb17794acb82b (diff) | |
download | libwnck-79af394c30ee78935ab059bcecc3b639a337aa39.tar.gz |
tasklist: fix 'comparison between signed and unsigned integer' warnings
-rw-r--r-- | libwnck/tasklist.c | 8 |
1 files 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; |