Commit 7a054328 authored by Chun-wei Fan's avatar Chun-wei Fan

gtk/gtkbuiltinicon.c: Fix build

The gtk_builtin_icon_get_default_size_property returns a const char *,
in a way such that some compilers insist that something that is of a
pointer value be returned, so fix that by replacing 0 with NULL.
parent 7f17468a
......@@ -271,7 +271,7 @@ gtk_builtin_icon_get_default_size_property (GtkBuiltinIcon *icon)
{
GtkBuiltinIconPrivate *priv;
g_return_val_if_fail (GTK_IS_BUILTIN_ICON (icon), GTK_CSS_IMAGE_BUILTIN_NONE);
g_return_val_if_fail (GTK_IS_BUILTIN_ICON (icon), NULL);
priv = gtk_builtin_icon_get_instance_private (icon);
......
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