mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-02 17:00:19 +00:00
Allow custom icon size in gtk_render_icon_pixbuf()
Pointed out in bug 642213.
This commit is contained in:
parent
b1a0a08d94
commit
f04504ac94
@ -4372,7 +4372,7 @@ gtk_render_icon_pixbuf (GtkStyleContext *context,
|
||||
GtkThemingEngineClass *engine_class;
|
||||
|
||||
g_return_val_if_fail (GTK_IS_STYLE_CONTEXT (context), NULL);
|
||||
g_return_val_if_fail (size == -1 || size <= GTK_ICON_SIZE_DIALOG, NULL);
|
||||
g_return_val_if_fail (size > GTK_ICON_SIZE_INVALID || size == -1, NULL);
|
||||
g_return_val_if_fail (source != NULL, NULL);
|
||||
|
||||
priv = context->priv;
|
||||
|
Loading…
Reference in New Issue
Block a user