From a8c96cbb1f8cf84047595f15b47dd407e292325e Mon Sep 17 00:00:00 2001 From: John Darrington Date: Wed, 27 Jan 2016 19:40:16 +0100 Subject: [PATCH] Remove g_mem_set_vtable This function is deprecated. --- src/ui/gui/main.c | 12 ------------ 1 file changed, 12 deletions(-) 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. */ -- 2.30.2