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:
Matthias Clasen 2014-10-01 13:17:14 -04:00
parent 7e9372bafa
commit 52c913156f

View File

@ -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;