[pan2] Fix Edit SSL Certificates crash
- From: Petr Kovář <pmkovar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pan2] Fix Edit SSL Certificates crash
- Date: Mon, 29 Feb 2016 16:06:14 +0000 (UTC)
commit 055fe9566fc3d1120de376671df9fd3860167e24
Author: walt <w41ter gmail com>
Date: Mon Feb 29 16:27:47 2016 +0100
Fix Edit SSL Certificates crash
pan/gui/server-ui.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pan/gui/server-ui.cc b/pan/gui/server-ui.cc
index 110c101..0895c61 100644
--- a/pan/gui/server-ui.cc
+++ b/pan/gui/server-ui.cc
@@ -975,7 +975,7 @@ pan :: render_cert_flag (GtkTreeViewColumn * ,
GtkTreeIter * iter,
gpointer )
{
- bool index (false);
+ int index (0);
gtk_tree_model_get (model, iter, COL_FLAG, &index, -1);
g_object_set (renderer, "pixbuf", _icons[index].pixbuf, NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]