Commit e52aa73b authored by Daniel Boles's avatar Daniel Boles

ModelButton: Use WARN_INVALID_PROPERTY, not assert

Do the same thing we do everywhere else for invalid properties.
parent 2d415d93
......@@ -539,7 +539,8 @@ gtk_model_button_get_property (GObject *object,
break;
default:
g_assert_not_reached ();
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
}
......@@ -586,7 +587,8 @@ gtk_model_button_set_property (GObject *object,
break;
default:
g_assert_not_reached ();
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
}
......
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