commit eedadf13db6c785eb63ff570698f14d1a5cba969
parent 0e3756e5546e890ae6b8b01c85749404736f5d8c
Author: Ricardo Mones <ricardo@mones.org>
Date: Sat, 2 Apr 2022 14:07:36 +0200
Remove conversion into unused variable
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/uri_opener.c b/src/uri_opener.c
@@ -304,11 +304,9 @@ static void uri_opener_list_view_insert_uri(GtkWidget *list_view,
phishing_attempt = TRUE;
}
if (phishing_attempt) {
- GdkColor color;
gchar buf[8];
g_snprintf(buf, sizeof buf, "#%6.6lx", prefs_common.color[COL_LOG_ERROR]);
- gtkut_convert_int_to_gdk_color(prefs_common.color[COL_LOG_ERROR], &color);
label = g_markup_printf_escaped("<span color=\"%s\"><b>%s</b></span>\n%s",
buf, visible, uri->uri);
} else