aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-calendar-table.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-calendar-table.c')
-rw-r--r--calendar/gui/e-calendar-table.c15
1 files changed, 3 insertions, 12 deletions
diff --git a/calendar/gui/e-calendar-table.c b/calendar/gui/e-calendar-table.c
index 6f31455fb8..c55875d943 100644
--- a/calendar/gui/e-calendar-table.c
+++ b/calendar/gui/e-calendar-table.c
@@ -109,8 +109,6 @@ static void selection_get (GtkWidget *invisible,
guint info,
guint time_stamp,
ECalendarTable *cal_table);
-static void invisible_destroyed (GtkWidget *invisible,
- ECalendarTable *cal_table);
static struct tm e_calendar_table_get_current_time (ECellDateEdit *ecde,
gpointer data);
static void mark_row_complete_cb (int model_row, gpointer data);
@@ -534,8 +532,6 @@ e_calendar_table_init (ECalendarTable *cal_table)
G_CALLBACK (selection_clear_event), cal_table);
g_signal_connect (cal_table->invisible, "selection_received",
G_CALLBACK (selection_received), cal_table);
- g_signal_connect_after (cal_table->invisible, "destroy",
- G_CALLBACK (invisible_destroyed), cal_table);
cal_table->clipboard_selection = NULL;
}
@@ -588,8 +584,10 @@ e_calendar_table_destroy (GtkObject *object)
cal_table->model = NULL;
}
- if (cal_table->invisible)
+ if (cal_table->invisible) {
gtk_widget_destroy (cal_table->invisible);
+ cal_table->invisible = NULL;
+ }
if (cal_table->clipboard_selection) {
g_free (cal_table->clipboard_selection);
cal_table->clipboard_selection = NULL;
@@ -1174,13 +1172,6 @@ e_calendar_table_save_state (ECalendarTable *cal_table,
filename);
}
-
-static void
-invisible_destroyed (GtkWidget *invisible, ECalendarTable *cal_table)
-{
- cal_table->invisible = NULL;
-}
-
static void
selection_get (GtkWidget *invisible,
GtkSelectionData *selection_data,