[seahorse/wip/nielsdg/remove-seahorse-object-widget] libseahorse: Remove SeahorseObjectWidget
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [seahorse/wip/nielsdg/remove-seahorse-object-widget] libseahorse: Remove SeahorseObjectWidget
- Date: Thu, 13 Feb 2020 17:19:01 +0000 (UTC)
commit 74bec0d6f203558c16f0d434efeb8d963be89b5a
Author: Niels De Graef <nielsdegraef gmail com>
Date: Thu Feb 13 18:09:46 2020 +0100
libseahorse: Remove SeahorseObjectWidget
We no longer use this class, in favor of GtkTemplate.
libseahorse/meson.build | 1 -
libseahorse/seahorse-object-widget.c | 256 -----------------------------------
libseahorse/seahorse-object-widget.h | 54 --------
pgp/seahorse-gpgme-add-subkey.c | 1 -
pgp/seahorse-gpgme-expires.c | 1 -
pgp/seahorse-gpgme-revoke.c | 1 -
pgp/seahorse-pgp-key-properties.c | 2 +-
7 files changed, 1 insertion(+), 315 deletions(-)
---
diff --git a/libseahorse/meson.build b/libseahorse/meson.build
index 0e77d8e1..1d59e20b 100644
--- a/libseahorse/meson.build
+++ b/libseahorse/meson.build
@@ -8,7 +8,6 @@ libseahorse_sources = [
'seahorse-bind.c',
'seahorse-object-list.c',
'seahorse-object-model.c',
- 'seahorse-object-widget.c',
'seahorse-progress.c',
'seahorse-util.c',
'seahorse-widget.c',
diff --git a/pgp/seahorse-gpgme-add-subkey.c b/pgp/seahorse-gpgme-add-subkey.c
index 824fb972..7803d778 100644
--- a/pgp/seahorse-gpgme-add-subkey.c
+++ b/pgp/seahorse-gpgme-add-subkey.c
@@ -20,7 +20,6 @@
#include <glib/gi18n.h>
#include "config.h"
-#include "libseahorse/seahorse-object-widget.h"
#include "libseahorse/seahorse-util.h"
#include "libegg/egg-datetime.h"
#include "seahorse-gpgme-add-subkey.h"
diff --git a/pgp/seahorse-gpgme-expires.c b/pgp/seahorse-gpgme-expires.c
index 6cdb1d1f..e356cdf5 100644
--- a/pgp/seahorse-gpgme-expires.c
+++ b/pgp/seahorse-gpgme-expires.c
@@ -23,7 +23,6 @@
#include "seahorse-gpgme-key-op.h"
#include "seahorse-gpgme-subkey.h"
-#include "libseahorse/seahorse-object-widget.h"
#include "libseahorse/seahorse-util.h"
#include <glib/gi18n.h>
diff --git a/pgp/seahorse-gpgme-revoke.c b/pgp/seahorse-gpgme-revoke.c
index e978a60c..cace82af 100644
--- a/pgp/seahorse-gpgme-revoke.c
+++ b/pgp/seahorse-gpgme-revoke.c
@@ -23,7 +23,6 @@
#include "seahorse-gpgme-key-op.h"
#include "seahorse-pgp-dialogs.h"
-#include "libseahorse/seahorse-object-widget.h"
#include "libseahorse/seahorse-util.h"
#include <glib/gi18n.h>
diff --git a/pgp/seahorse-pgp-key-properties.c b/pgp/seahorse-pgp-key-properties.c
index 6696e754..b2fd7c1a 100644
--- a/pgp/seahorse-pgp-key-properties.c
+++ b/pgp/seahorse-pgp-key-properties.c
@@ -317,7 +317,7 @@ on_uids_revoke (GSimpleAction *action, GVariant *param, gpointer user_data)
gint index;
Glist *keys = NULL;
- skey = SEAHORSE_OBJECT_WIDGET (swidget)->skey;
+ skey = self->key;
index = names_get_selected_uid (swidget);
if (index >= 1) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]