mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
Don't emit a useless warning
The warning may have had some value at some point, but if people uninstall large icons just to make the warning go away, it does more harm than good. So just remove it.
This commit is contained in:
parent
7e9372bafa
commit
52c913156f
@ -3839,10 +3839,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: icon too large (%dx%d)", width, height);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
n++;
|
||||
size += 2 + width * height;
|
||||
|
Loading…
Reference in New Issue
Block a user