projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
719ab9a
)
Remove g_mem_set_vtable
author
John Darrington
<john@darrington.wattle.id.au>
Wed, 27 Jan 2016 18:40:16 +0000
(19:40 +0100)
committer
John Darrington
<john@darrington.wattle.id.au>
Wed, 27 Jan 2016 18:40:16 +0000
(19:40 +0100)
This function is deprecated.
src/ui/gui/main.c
patch
|
blob
|
history
diff --git
a/src/ui/gui/main.c
b/src/ui/gui/main.c
index d1a4798fd11574b3933f09f0e59b54b616abd818..9bd278d3397965ef1c0b5d8b52d141decc930bdf 100644
(file)
--- a/
src/ui/gui/main.c
+++ b/
src/ui/gui/main.c
@@
-171,16
+171,6
@@
print_startup_time (gpointer data)
return FALSE;
}
-static GMemVTable vtable =
- {
- xmalloc,
- xrealloc,
- free,
- xcalloc,
- malloc,
- realloc
- };
-
#ifdef __APPLE__
static const bool apple = true;
#else
@@
-257,8
+247,6
@@
main (int argc, char *argv[])
set_program_name (argv[0]);
- g_mem_set_vtable (&vtable);
-
#if !GLIB_CHECK_VERSION(2,32,0)
/* g_thread_init() was required before glib 2.32, but it is deprecated since
then and calling it yields a compile-time warning. */