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.
This commit is contained in:
Matthias Clasen 2014-06-07 10:47:33 -04:00
parent 06ab3e7477
commit 09a589b716

View File

@ -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;