diff --git a/gobject/gobject.c b/gobject/gobject.c index 436397654..2bf5e6ff7 100644 --- a/gobject/gobject.c +++ b/gobject/gobject.c @@ -1616,8 +1616,6 @@ g_object_new (GType object_type, GObject *object; va_list var_args; - g_return_val_if_fail (G_TYPE_IS_OBJECT (object_type), NULL); - /* short circuit for calls supplying no properties */ if (!first_property_name) return g_object_new_with_properties (object_type, 0, NULL, NULL);