From 33e52564affb7fbc50ad68a08c43c9f70e7d1bb4 Mon Sep 17 00:00:00 2001 From: rbuj Date: Fri, 14 Feb 2020 07:54:19 +0100 Subject: Port from EggDebug to the built-in GLib logging framework --- src/egg-precision.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/egg-precision.c') diff --git a/src/egg-precision.c b/src/egg-precision.c index 02f0cce..bc4e07b 100644 --- a/src/egg-precision.c +++ b/src/egg-precision.c @@ -24,7 +24,6 @@ #include #include -#include "egg-debug.h" #include "egg-precision.h" /** @@ -45,7 +44,7 @@ egg_precision_round_up (gfloat value, gint smallest) if (fabs (value) < 0.01) return 0; if (smallest == 0) { - egg_warning ("divisor zero"); + g_warning ("divisor zero"); return 0; } division = (gfloat) value / (gfloat) smallest; @@ -72,7 +71,7 @@ egg_precision_round_down (gfloat value, gint smallest) if (fabs (value) < 0.01) return 0; if (smallest == 0) { - egg_warning ("divisor zero"); + g_warning ("divisor zero"); return 0; } division = (gfloat) value / (gfloat) smallest; -- cgit v1.2.1