Commit 52c91315 authored by Matthias Clasen's avatar Matthias Clasen

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.
parent 7e9372ba
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment