diff options
Diffstat (limited to 'widgets/misc')
-rw-r--r-- | widgets/misc/e-selection-model-array.c | 2 | ||||
-rw-r--r-- | widgets/misc/e-selection-model-simple.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/widgets/misc/e-selection-model-array.c b/widgets/misc/e-selection-model-array.c index 42d7da90e4..473f005dd4 100644 --- a/widgets/misc/e-selection-model-array.c +++ b/widgets/misc/e-selection-model-array.c @@ -225,7 +225,7 @@ esma_clear(ESelectionModel *selection) { ESelectionModelArray *esma = E_SELECTION_MODEL_ARRAY(selection); if (esma->eba) { - gtk_object_unref(GTK_OBJECT(esma->eba)); + g_object_unref(esma->eba); esma->eba = NULL; } esma->cursor_row = -1; diff --git a/widgets/misc/e-selection-model-simple.c b/widgets/misc/e-selection-model-simple.c index da232d9f8c..51a0d86623 100644 --- a/widgets/misc/e-selection-model-simple.c +++ b/widgets/misc/e-selection-model-simple.c @@ -73,7 +73,7 @@ e_selection_model_simple_set_row_count (ESelectionModelSimple *esms, if (esms->row_count != row_count) { ESelectionModelArray *esma = E_SELECTION_MODEL_ARRAY(esms); if (esma->eba) - gtk_object_unref(GTK_OBJECT(esma->eba)); + g_object_unref(esma->eba); esma->eba = NULL; esma->selected_row = -1; esma->selected_range_end = -1; |