mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
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 */
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user