[libwnck/wip/warnings3: 4/5] tasklist: fix 'comparison between signed and unsigned integer' warnings
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libwnck/wip/warnings3: 4/5] tasklist: fix 'comparison between signed and unsigned integer' warnings
- Date: Fri, 28 Apr 2017 11:22:30 +0000 (UTC)
commit 79af394c30ee78935ab059bcecc3b639a337aa39
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Fri Apr 28 14:07:24 2017 +0300
tasklist: fix 'comparison between signed and unsigned integer' warnings
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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]