From 654a50daf401c949b9d510f2ddc387838613cb29 Mon Sep 17 00:00:00 2001 From: guinux Date: Fri, 11 Mar 2016 09:34:11 +0100 Subject: [PATCH] fix in case of no url in aur pkg --- src/manager_window.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/manager_window.vala b/src/manager_window.vala index 198ee6f..517be35 100644 --- a/src/manager_window.vala +++ b/src/manager_window.vala @@ -331,7 +331,7 @@ namespace Pamac { desc_label.set_markup (Markup.escape_text (node.get_string ())); string url = ""; node = all_infos.get_member ("URL"); - if (node != null) { + if (!node.is_null ()) { url = Markup.escape_text (node.get_string ()); } string aur_url = "http://aur.archlinux.org/packages/" + name;