1 |
--- gtk/gtkmm/treeview.h.orig 2013-08-31 15:49:24.000000000 +0200 |
2 |
+++ gtk/gtkmm/treeview.h 2013-08-31 15:59:45.000000000 +0200 |
3 |
@@ -3,6 +3,7 @@ |
4 |
#ifndef _GTKMM_TREEVIEW_H |
5 |
#define _GTKMM_TREEVIEW_H |
6 |
|
7 |
+#include <cstdlib> |
8 |
#include <glibmm.h> |
9 |
|
10 |
/* $Id: treeview.hg,v 1.71 2004/06/03 09:38:35 murrayc Exp $ */ |
11 |
@@ -1296,7 +1297,7 @@ |
12 |
|
13 |
//Convert the text to a number, using the same logic used by GtkCellRendererText when it stores numbers. |
14 |
char* pchEnd = 0; |
15 |
- ColumnType new_value = static_cast<ColumnType>( strtod(new_text.c_str(), &pchEnd) ); |
16 |
+ ColumnType new_value = static_cast<ColumnType>( std::strtod(new_text.c_str(), &pchEnd) ); |
17 |
|
18 |
//Store the user's new text in the model: |
19 |
Gtk::TreeRow row = *iter; |