diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-07-09 08:23:01 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-07-09 08:38:18 +0800 |
commit | a87a779e0b64032cceecaa4593c8c08b5fbad203 (patch) | |
tree | 59e252a8a1d871b5bffe8b7a845d8ced0afa0f16 /e-util/e-rule-editor.h | |
parent | 514736f27efeac6d5ad42e055ebabb423d243fb2 (diff) | |
download | gsoc2013-evolution-a87a779e0b64032cceecaa4593c8c08b5fbad203.tar gsoc2013-evolution-a87a779e0b64032cceecaa4593c8c08b5fbad203.tar.gz gsoc2013-evolution-a87a779e0b64032cceecaa4593c8c08b5fbad203.tar.bz2 gsoc2013-evolution-a87a779e0b64032cceecaa4593c8c08b5fbad203.tar.lz gsoc2013-evolution-a87a779e0b64032cceecaa4593c8c08b5fbad203.tar.xz gsoc2013-evolution-a87a779e0b64032cceecaa4593c8c08b5fbad203.tar.zst gsoc2013-evolution-a87a779e0b64032cceecaa4593c8c08b5fbad203.zip |
ERuleEditor: Remove dead code.
Unfinished undo framework from ages past.
Nice idea I guess, but not worth the complexity.
Diffstat (limited to 'e-util/e-rule-editor.h')
-rw-r--r-- | e-util/e-rule-editor.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/e-util/e-rule-editor.h b/e-util/e-rule-editor.h index 39d2066274..834ac577b2 100644 --- a/e-util/e-rule-editor.h +++ b/e-util/e-rule-editor.h @@ -58,8 +58,6 @@ typedef struct _ERuleEditor ERuleEditor; typedef struct _ERuleEditorClass ERuleEditorClass; typedef struct _ERuleEditorPrivate ERuleEditorPrivate; -typedef struct _ERuleEditorUndo ERuleEditorUndo; - struct _ERuleEditor { GtkDialog parent; @@ -74,9 +72,6 @@ struct _ERuleEditor { gchar *source; - ERuleEditorUndo *undo_log; /* cancel/undo log */ - guint undo_active:1; /* we're performing undo */ - ERuleEditorPrivate *priv; }; @@ -90,22 +85,6 @@ struct _ERuleEditorClass { EFilterRule * (*create_rule) (ERuleEditor *editor); }; -enum { - E_RULE_EDITOR_LOG_EDIT, - E_RULE_EDITOR_LOG_ADD, - E_RULE_EDITOR_LOG_REMOVE, - E_RULE_EDITOR_LOG_RANK -}; - -struct _ERuleEditorUndo { - ERuleEditorUndo *next; - - guint type; - EFilterRule *rule; - gint rank; - gint newrank; -}; - GType e_rule_editor_get_type (void) G_GNUC_CONST; ERuleEditor * e_rule_editor_new (ERuleContext *context, const gchar *source, |