[gnome-calendar] edit-dialog: remove unused field
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] edit-dialog: remove unused field
- Date: Tue, 13 Jan 2015 15:29:27 +0000 (UTC)
commit b1daf9eeb42257c3067420f1c7c3c4b21199bbd0
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Tue Jan 13 13:29:17 2015 -0200
edit-dialog: remove unused field
The old times when calendar used GtkTreeIter has passed, and it no longer needs the active iter field.
src/gcal-edit-dialog.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/src/gcal-edit-dialog.c b/src/gcal-edit-dialog.c
index fce91c2..683f7f7 100644
--- a/src/gcal-edit-dialog.c
+++ b/src/gcal-edit-dialog.c
@@ -33,7 +33,6 @@ typedef struct
gboolean writable;
GcalManager *manager;
- GtkTreeIter *active_iter;
GtkWidget *titlebar;
GtkWidget *lock;
@@ -699,13 +698,6 @@ gcal_edit_dialog_clear_data (GcalEditDialog *dialog)
update_summary,
dialog);
- /* calendar button */
- if (priv->active_iter != NULL)
- {
- gtk_tree_iter_free (priv->active_iter);
- priv->active_iter = NULL;
- }
-
/* date and time */
gcal_date_selector_set_date (GCAL_DATE_SELECTOR (priv->start_date_selector), 0, 0, 0);
gcal_time_selector_set_time (GCAL_TIME_SELECTOR (priv->start_time_selector), 0, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]