[seahorse] pgp: KeyProperties: Remove ui_added()
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [seahorse] pgp: KeyProperties: Remove ui_added()
- Date: Fri, 15 Feb 2019 06:39:24 +0000 (UTC)
commit 21ed27e4913fc10b94def7be69204a75d82c1073
Author: Niels De Graef <nielsdegraef gmail com>
Date: Fri Feb 15 07:34:24 2019 +0100
pgp: KeyProperties: Remove ui_added()
This got copy-pasted in the wrong place somehow.
pgp/seahorse-pgp-key-properties.c | 18 ------------------
1 file changed, 18 deletions(-)
---
diff --git a/pgp/seahorse-pgp-key-properties.c b/pgp/seahorse-pgp-key-properties.c
index 92d93cfe..325f3e4f 100644
--- a/pgp/seahorse-pgp-key-properties.c
+++ b/pgp/seahorse-pgp-key-properties.c
@@ -222,24 +222,6 @@ names_get_selected_uid (SeahorsePgpKeyProperties *self)
return get_selected_object (self->names_tree, UIDSIG_OBJECT);
}
-static void
-on_gpgme_key_op_uid_added (GObject *source, GAsyncResult *result, gpointer user_data)
-{
- g_autoptr(SeahorseGpgmeAddUid) self = SEAHORSE_GPGME_ADD_UID (user_data);
- SeahorseGpgmeKey *key = SEAHORSE_GPGME_KEY (source);
- g_autoptr(GError) error = NULL;
-
- if (!seahorse_gpgme_key_op_add_uid_finish (key, result, &error)) {
- GtkWindow *window = gtk_window_get_transient_for (GTK_WINDOW (self));
- seahorse_util_show_error (GTK_WIDGET (window),
- _("Couldn’t add user ID"),
- error->message);
- return;
- }
-
- seahorse_gpgme_key_refresh (key);
-}
-
static void
on_uids_add (GSimpleAction *action, GVariant *param, gpointer user_data)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]