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 d763169bb5
commit 94592be5bc

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;