Make a warning more informative

Since we know what size was too large here, why not say it.
This commit is contained in:
Matthias Clasen 2014-09-05 13:43:17 -04:00
parent 1629903943
commit b156d5bfee

View File

@ -3840,7 +3840,7 @@ gdk_x11_window_set_icon_list (GdkWindow *window,
/* silently ignore overlarge icons */ /* silently ignore overlarge icons */
if (size + 2 + width * height > GDK_SELECTION_MAX_SIZE(display)) 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; break;
} }