tRemove obsolete GtkCList function - vaccinewars - be a doctor and try to vaccinate the world
(HTM) git clone git://src.adamsgaard.dk/vaccinewars
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 348f834db4a782a1f7c2e1d51e023ff8b8d23f1f
(DIR) parent 24e14450121d92e9b7cc2c17676266ee7edd133e
(HTM) Author: Ben Webb <ben@salilab.org>
Date: Mon, 23 Nov 2020 00:06:31 -0800
Remove obsolete GtkCList function
We no longer use GtkCList anywhere, so we can get rid of
tthis obsolete function (which wouldn't work in GTK3 anyway).
Diffstat:
M src/gtkport/clist.c | 18 ------------------
1 file changed, 0 insertions(+), 18 deletions(-)
---
(DIR) diff --git a/src/gtkport/clist.c b/src/gtkport/clist.c
t@@ -887,22 +887,4 @@ void InitCListClass(HINSTANCE hInstance)
myRegisterClass(&wc);
}
-#else /* for systems with GTK+ */
-
-GtkWidget *gtk_scrolled_clist_new_with_titles(gint columns,
- gchar *titles[],
- GtkWidget **pack_widg)
-{
- GtkWidget *scrollwin, *clist;
-
- clist = gtk_clist_new_with_titles(columns, titles);
- scrollwin = gtk_scrolled_window_new(NULL, NULL);
- gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrollwin),
- GTK_POLICY_AUTOMATIC,
- GTK_POLICY_AUTOMATIC);
- gtk_container_add(GTK_CONTAINER(scrollwin), clist);
- *pack_widg = scrollwin;
- return clist;
-}
-
#endif