X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fmain.c;h=9bd278d3397965ef1c0b5d8b52d141decc930bdf;hb=a8c96cbb1f8cf84047595f15b47dd407e292325e;hp=d1a4798fd11574b3933f09f0e59b54b616abd818;hpb=719ab9a49adc3cbb668dc64efde83b0de685f3a4;p=pspp diff --git a/src/ui/gui/main.c b/src/ui/gui/main.c index d1a4798fd1..9bd278d339 100644 --- 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. */