edit-dialog: remove unused field
The old times when calendar used GtkTreeIter has passed, and it no longer needs the active iter field.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user