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;
|
gboolean writable;
|
||||||
|
|
||||||
GcalManager *manager;
|
GcalManager *manager;
|
||||||
GtkTreeIter *active_iter;
|
|
||||||
|
|
||||||
GtkWidget *titlebar;
|
GtkWidget *titlebar;
|
||||||
GtkWidget *lock;
|
GtkWidget *lock;
|
||||||
@@ -699,13 +698,6 @@ gcal_edit_dialog_clear_data (GcalEditDialog *dialog)
|
|||||||
update_summary,
|
update_summary,
|
||||||
dialog);
|
dialog);
|
||||||
|
|
||||||
/* calendar button */
|
|
||||||
if (priv->active_iter != NULL)
|
|
||||||
{
|
|
||||||
gtk_tree_iter_free (priv->active_iter);
|
|
||||||
priv->active_iter = NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* date and time */
|
/* date and time */
|
||||||
gcal_date_selector_set_date (GCAL_DATE_SELECTOR (priv->start_date_selector), 0, 0, 0);
|
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);
|
gcal_time_selector_set_time (GCAL_TIME_SELECTOR (priv->start_time_selector), 0, 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user