blob: 5c4bd99969e06fcf0fd9aa486182e50281083f23 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-ae,v 1.1 2007/11/04 22:59:36 rillig Exp $
--- gtkextra/gtkplot.c.orig 2005-02-25 02:18:46.000000000 +0100
+++ gtkextra/gtkplot.c 2007-11-04 23:53:15.922868000 +0100
@@ -218,7 +218,7 @@ static void gtk_plot_real_get_point (Gt
gdouble *px, gdouble *py);
void gtk_plot_remove_dimension (GtkPlot *plot,
const gchar *dimension);
-inline gint roundint (gdouble x);
+gint roundint (gdouble x);
static void update_datasets (GtkPlot *plot, gboolean new_range);
static GtkWidgetClass *parent_class = NULL;
@@ -2934,7 +2934,7 @@ gtk_plot_ticks_inverse(GtkPlotAxis *axis
return point;
}
-inline gint
+gint
roundint (gdouble x)
{
return (x+.50999999471);
|