projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e11e304
)
AboutDialog: Fix accepting GTK_LICENSE_AGPL_3_0
author
Julian Sparber
<julian@sparber.net>
Tue, 31 Oct 2017 01:29:59 +0000
(
02:29
+0100)
committer
Daniel Boles
<dboles@src.gnome.org>
Tue, 31 Oct 2017 18:56:26 +0000
(18:56 +0000)
Add the ‘new’ GTK_LICENSE_AGPL_3_0 to the allowed enum range checked in
gtk_about_dialog_set_license_type(), so this value can actually be used.
https://bugzilla.gnome.org/show_bug.cgi?id=789678
gtk/gtkaboutdialog.c
patch
|
blob
|
history
diff --git
a/gtk/gtkaboutdialog.c
b/gtk/gtkaboutdialog.c
index 1534c5b592a631ab1e7a5803d0a6733254b2f9b9..820f01c0a1961a1456e4ba8f1fd520cdd79e5396 100644
(file)
--- a/
gtk/gtkaboutdialog.c
+++ b/
gtk/gtkaboutdialog.c
@@
-2568,7
+2568,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_
LGPL_3_0_ONLY
);
+ license_type <= GTK_LICENSE_
AGPL_3_0
);
priv = about->priv;