[frogr] about dialog: Use license-type instead of license property. Fixes bug #651230
- From: Mario Sanchez Prada <msanchez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [frogr] about dialog: Use license-type instead of license property. Fixes bug #651230
- Date: Fri, 27 May 2011 11:24:51 +0000 (UTC)
commit dde76127a05c1d209e06a896475c4ab4d70b18d8
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Fri May 27 12:54:33 2011 +0200
about dialog: Use license-type instead of license property. Fixes bug #651230
src/frogr-about-dialog.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/frogr-about-dialog.c b/src/frogr-about-dialog.c
index e5a479f..0529e32 100644
--- a/src/frogr-about-dialog.c
+++ b/src/frogr-about-dialog.c
@@ -104,7 +104,11 @@ frogr_about_dialog_show (GtkWindow *parent)
"artists", artists,
"comments", _(appdescr),
"copyright", copyright,
+#if !GTK_CHECK_VERSION (3,0,0)
"license", license,
+#else
+ "license-type", GTK_LICENSE_GPL_3_0,
+#endif
"version", version,
"website", website,
"logo", logo,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]