fix compilation with GCC 3.1; from FreeBSD

This commit is contained in:
naddy 2002-06-17 22:39:22 +00:00
parent 451fe00889
commit 1b044ff65a

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_editable_gen_h,v 1.1 2002/06/17 22:39:22 naddy Exp $
--- src/editable.gen_h.orig Mon Jun 17 23:05:37 2002
+++ src/editable.gen_h Mon Jun 17 23:05:55 2002
@@ -147,7 +147,7 @@ IMPL_START;
namespace Gtk
{
- string Editable::get_chars (int start_pos = 0, int end_pos = - 1) const
+ string Editable::get_chars (int start_pos, int end_pos) const
{
gchar *chars = gtk_editable_get_chars (GTK_EDITABLE (gtkobj ()), start_pos, end_pos);
string ret_val = chars;