From b156d5bfee256d6c0bbd3dc64540bb8254d72d35 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 5 Sep 2014 13:43:17 -0400 Subject: [PATCH] Make a warning more informative Since we know what size was too large here, why not say it. --- gdk/x11/gdkwindow-x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c index 4ca33f57bc..2f3d9d63b4 100644 --- a/gdk/x11/gdkwindow-x11.c +++ b/gdk/x11/gdkwindow-x11.c @@ -3840,7 +3840,7 @@ gdk_x11_window_set_icon_list (GdkWindow *window, /* silently ignore overlarge icons */ if (size + 2 + width * height > GDK_SELECTION_MAX_SIZE(display)) { - g_warning ("gdk_window_set_icon_list: icons too large"); + g_warning ("gdk_window_set_icon_list: icon too large (%dx%d)", width, height); break; }