process.c: Use the symbol, it looks like it was meant to be used...
[memprof.git] / src / treeviewutils.h
blob04a64dee8ab5effd223de09923eeb83d3b796140
1 /* -*- mode: C; c-file-style: "linux" -*- */
3 /* MemProf -- memory profiler and leak detector
4 * Copyright 2002, Soeren Sandmann (sandmann@daimi.au.dk)
5 * Copyright 2003, Red Hat, Inc.
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21 /*====*/
23 #include <gtk/gtk.h>
25 void column_set_sort_id (GtkTreeViewColumn *column,
26 int column_id);
27 void tree_view_unset_sort_ids (GtkTreeView *tree_view);
28 void tree_view_set_sort_ids (GtkTreeView *tree_view);
30 int list_iter_get_index (GtkTreeModel *model,
31 GtkTreeIter *iter);
33 GtkTreeViewColumn *add_plain_text_column (GtkTreeView *view,
34 const char *title,
35 gint model_column);
36 GtkTreeViewColumn *add_double_format_column (GtkTreeView *view,
37 const char *title,
38 int model_column,
39 const char *format);
40 GtkTreeViewColumn *add_pointer_column (GtkTreeView *view,
41 const char *title,
42 int model_column);