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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user