diff options
author | Chris Toshok <toshok@ximian.com> | 2002-11-15 10:47:18 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2002-11-15 10:47:18 +0800 |
commit | b39be5377514b9bc3c43b7f5172645edd683e683 (patch) | |
tree | 0d55ddbc296c5451fb0af8ca4ffd5295963375a3 /widgets | |
parent | b9b2089527b62590f70625208d7d68579a51124d (diff) | |
download | gsoc2013-evolution-b39be5377514b9bc3c43b7f5172645edd683e683.tar.gz gsoc2013-evolution-b39be5377514b9bc3c43b7f5172645edd683e683.tar.zst gsoc2013-evolution-b39be5377514b9bc3c43b7f5172645edd683e683.zip |
deal with EBitArray/ESorter being a GObject now.
2002-11-14 Chris Toshok <toshok@ximian.com>
* gal/widgets/e-selection-model-array.c: deal with
EBitArray/ESorter being a GObject now.
* gal/widgets/e-selection-model-simple.c: same.
* gal/util/e-bit-array.[ch]: this derives from GObject now.
* gal/util/e-sorter.[ch]: same.
* gal/util/e-sorter-array.[ch]: same.
svn path=/trunk/; revision=18774
Diffstat (limited to 'widgets')
-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; |