diff options
author | monsta <[email protected]> | 2016-08-21 03:29:50 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-08-22 16:40:21 +0300 |
commit | 3c6122df79f4d6e86d7afa0e6c4b64403de7bc44 (patch) | |
tree | bd06579cadb62b290fb983f61a02e4dedb3f64b1 /src/file-manager/fm-list-model.c | |
parent | 6f295db45ebcb52c6e9ad39f8d639e35f88c5ef5 (diff) | |
download | caja-3c6122df79f4d6e86d7afa0e6c4b64403de7bc44.tar.bz2 caja-3c6122df79f4d6e86d7afa0e6c4b64403de7bc44.tar.xz |
drop a large amount of completely unused code
Diffstat (limited to 'src/file-manager/fm-list-model.c')
-rw-r--r-- | src/file-manager/fm-list-model.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/file-manager/fm-list-model.c b/src/file-manager/fm-list-model.c index 1bf2d599..f33da35d 100644 --- a/src/file-manager/fm-list-model.c +++ b/src/file-manager/fm-list-model.c @@ -1593,32 +1593,6 @@ fm_list_model_add_column (FMListModel *model, return FM_LIST_MODEL_NUM_COLUMNS + (model->details->columns->len - 1); } -int -fm_list_model_get_column_number (FMListModel *model, - const char *column_name) -{ - int i; - - for (i = 0; i < model->details->columns->len; i++) - { - CajaColumn *column; - char *name; - - column = model->details->columns->pdata[i]; - - g_object_get (G_OBJECT (column), "name", &name, NULL); - - if (!strcmp (name, column_name)) - { - g_free (name); - return FM_LIST_MODEL_NUM_COLUMNS + i; - } - g_free (name); - } - - return -1; -} - static void fm_list_model_dispose (GObject *object) { |