Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-properties-license.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ev-properties-license.c')
-rw-r--r--shell/ev-properties-license.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/shell/ev-properties-license.c b/shell/ev-properties-license.c
index f7c7233..79c6a19 100644
--- a/shell/ev-properties-license.c
+++ b/shell/ev-properties-license.c
@@ -84,16 +84,15 @@ get_license_uri_widget (const gchar *uri)
"ellipsize", PANGO_ELLIPSIZE_END,
NULL);
-#if GTK_CHECK_VERSION (2, 17, 0)
checked_uri = g_uri_parse_scheme (uri);
if (checked_uri) {
markup = g_markup_printf_escaped ("<a href=\"%s\">%s</a>", uri, uri);
gtk_label_set_markup (GTK_LABEL (label), markup);
g_free (markup);
g_free (checked_uri);
- } else
-#endif
+ } else {
gtk_label_set_text (GTK_LABEL (label), uri);
+ }
return label;
}