forked from AuroraMiddleware/gtk
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:
parent
06ab3e7477
commit
09a589b716
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user