Commit 09a589b7 authored by Matthias Clasen's avatar Matthias Clasen

GtkAboutDialog: Fix a parameter check

When we expanded the GtkLicense enumeration in 3.12, we forgot
to update the limit check in gtk_about_dialog_set_license_type.
Caught by testing property notification for enum properties.
parent 06ab3e74
......@@ -2442,7 +2442,7 @@ gtk_about_dialog_set_license_type (GtkAboutDialog *about,
g_return_if_fail (GTK_IS_ABOUT_DIALOG (about));
g_return_if_fail (license_type >= GTK_LICENSE_UNKNOWN &&
license_type <= GTK_LICENSE_ARTISTIC);
license_type <= GTK_LICENSE_LGPL_3_0_ONLY);
priv = about->priv;
......
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