forked from AuroraMiddleware/gtk
Make a warning more informative
Since we know what size was too large here, why not say it.
This commit is contained in:
parent
1629903943
commit
b156d5bfee
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user