[seahorse] pgp/key: Initialize photos GListModel correctly



commit 105425ae94428c5420a31f30e3d20cddfee844db
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Fri Feb 26 19:03:32 2021 +0100

    pgp/key: Initialize photos GListModel correctly

 pgp/seahorse-pgp-key.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/pgp/seahorse-pgp-key.c b/pgp/seahorse-pgp-key.c
index 2859e8ec..1789708a 100644
--- a/pgp/seahorse-pgp-key.c
+++ b/pgp/seahorse-pgp-key.c
@@ -575,7 +575,7 @@ seahorse_pgp_key_init (SeahorsePgpKey *self)
 
     priv->uids = G_LIST_MODEL (g_list_store_new (SEAHORSE_PGP_TYPE_UID));
     priv->subkeys = G_LIST_MODEL (g_list_store_new (SEAHORSE_PGP_TYPE_SUBKEY));
-    priv->photos = G_LIST_MODEL (g_list_store_new (SEAHORSE_PGP_TYPE_SUBKEY));
+    priv->photos = G_LIST_MODEL (g_list_store_new (SEAHORSE_PGP_TYPE_PHOTO));
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]