glib logging

presentation
Andreas Butti 7 years ago
parent 00bd916e8c
commit fbec87b413
  1. 3
      src/util/XournalType.cpp

@ -2,7 +2,6 @@
#include "StringUtils.h"
#include <config-dev.h>
#include <i18n.h>
#include <glib.h>
@ -90,7 +89,7 @@ void xoj_momoryleak_printRemainingObjects()
if (x != 0)
{
sum += x;
cout << FORMAT_STR("MemoryLeak: {1} objects of type: {2}") % x % xoj_type_getName(i) << endl;
g_warning("MemoryLeak: %i objects of type: %s", x, xoj_type_getName(i));
}
}

Loading…
Cancel
Save