Attachment 'gtk-simple-list-02-remove-set-cell-renderer-stub.diff'
Download 1 From 850990de95cf5e056b9b227d2a5c850469c08b74 Mon Sep 17 00:00:00 2001
2 From: Kristian Rietveld <kris@gtk.org>
3 Date: Sun, 21 Sep 2008 00:52:37 +0200
4 Subject: Remove stub of gtk_simple_list_set_cell_renderer(). It doesn't make all that much sense, the API user also would have to fool around with attributes. So in this case you are probably better off doing everything using normal tree view API.
5
6 ---
7 gtk/gtksimplelist.c | 7 -------
8 gtk/gtksimplelist.h | 4 ----
9 2 files changed, 0 insertions(+), 11 deletions(-)
10
11 diff --git a/gtk/gtksimplelist.c b/gtk/gtksimplelist.c
12 index f29f4ae..42596df 100644
13 --- a/gtk/gtksimplelist.c
14 +++ b/gtk/gtksimplelist.c
15 @@ -954,12 +954,5 @@ gtk_simple_list_column_set_editable (GtkSimpleList *list,
16 return;
17 }
18
19 -void
20 -gtk_simple_list_column_set_cell_renderer (GtkSimpleList *list,
21 - int column_index,
22 - GtkCellRenderer *renderer)
23 -{
24 -}
25 -
26 #define __GTK_SIMPLE_LIST_C__
27 #include "gtkaliasdef.c"
28 diff --git a/gtk/gtksimplelist.h b/gtk/gtksimplelist.h
29 index a8f5ab1..e52d8b9 100644
30 --- a/gtk/gtksimplelist.h
31 +++ b/gtk/gtksimplelist.h
32 @@ -137,10 +137,6 @@ void gtk_simple_list_column_set_editable (GtkSimpleList *list,
33 int column_index,
34 gboolean editable);
35
36 -void gtk_simple_list_column_set_cell_renderer (GtkSimpleList *list,
37 - int column_index,
38 - GtkCellRenderer *renderer);
39 -
40 G_END_DECLS
41
42 #endif /* __GTK_SIMPLE_LIST_H__ */
43 --
44 1.6.4
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.