From 365ae0c427bce91c77b2a9874d03b14d68073fa2 Mon Sep 17 00:00:00 2001
From: Maxim Sobolev <sobomax@FreeBSD.org>
Date: Tue, 16 Jul 2002 10:59:23 +0000
Subject: Unbleak on -current with gcc 3.1.

Helped by:	obrien, tjr
---
 .../files/patch-src::gnome--::affinetrans.cc       | 14 ++++++++
 .../gnome--/files/patch-src::gnome--::app.cc       | 39 ++++++++++++++++++++++
 .../gnome--/files/patch-src::gnome--::clock.cc     | 14 ++++++++
 .../gnome--/files/patch-src::gnome--::icon-item.cc | 14 ++++++++
 4 files changed, 81 insertions(+)
 create mode 100644 x11-toolkits/gnome--/files/patch-src::gnome--::affinetrans.cc
 create mode 100644 x11-toolkits/gnome--/files/patch-src::gnome--::app.cc
 create mode 100644 x11-toolkits/gnome--/files/patch-src::gnome--::clock.cc
 create mode 100644 x11-toolkits/gnome--/files/patch-src::gnome--::icon-item.cc

diff --git a/x11-toolkits/gnome--/files/patch-src::gnome--::affinetrans.cc b/x11-toolkits/gnome--/files/patch-src::gnome--::affinetrans.cc
new file mode 100644
index 000000000000..537ff0362d7f
--- /dev/null
+++ b/x11-toolkits/gnome--/files/patch-src::gnome--::affinetrans.cc
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- src/gnome--/affinetrans.cc	2002/07/16 10:11:14	1.1
++++ src/gnome--/affinetrans.cc	2002/07/16 10:13:14
+@@ -29,7 +29,7 @@
+ namespace Art
+ {
+ 
+-AffineTrans::AffineTrans(gdouble scale = 1.0)
++AffineTrans::AffineTrans(gdouble scale)
+ {
+   trans_[0] = scale;
+   trans_[1] = 0.0;
diff --git a/x11-toolkits/gnome--/files/patch-src::gnome--::app.cc b/x11-toolkits/gnome--/files/patch-src::gnome--::app.cc
new file mode 100644
index 000000000000..7491bffe97c4
--- /dev/null
+++ b/x11-toolkits/gnome--/files/patch-src::gnome--::app.cc
@@ -0,0 +1,39 @@
+
+$FreeBSD$
+
+--- src/gnome--/app.cc	2002/07/16 10:16:49	1.1
++++ src/gnome--/app.cc	2002/07/16 10:18:08
+@@ -162,13 +162,13 @@
+     return w;
+   }
+ 
+-App::Progress App::progress(const Gtk::string &description, Callback cancel=0)
++App::Progress App::progress(const Gtk::string &description, Callback cancel)
+   {
+     return Progress(*this,  description, cancel);
+   }
+ 
+ App::Progress App::progress(const Gtk::string &description, guint32 interval,
+-                    ProgressCallback percent, Callback cancel=0)
++                    ProgressCallback percent, Callback cancel)
+   {
+     return Progress(*this,  description, interval, percent, cancel);
+   }
+@@ -210,7 +210,7 @@
+ 
+ Progress::Progress(Gnome::App& app,
+                    const Gtk::string &description,
+-                   Cancel cancel=0)
++                   Cancel cancel)
+   {
+     ProgressCallbackData *data=new ProgressCallbackData();
+     data->cancel=cancel;
+@@ -225,7 +225,7 @@
+                    const Gtk::string &description,
+                    guint32 interval,
+                    Update percent,
+-                   Cancel cancel=0)
++                   Cancel cancel)
+   {
+     ProgressCallbackData *data=new ProgressCallbackData();
+     data->cancel=cancel;
diff --git a/x11-toolkits/gnome--/files/patch-src::gnome--::clock.cc b/x11-toolkits/gnome--/files/patch-src::gnome--::clock.cc
new file mode 100644
index 000000000000..89528908eaf3
--- /dev/null
+++ b/x11-toolkits/gnome--/files/patch-src::gnome--::clock.cc
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- src/gnome--/clock.cc	2002/07/16 10:27:15	1.1
++++ src/gnome--/clock.cc	2002/07/16 10:27:28
+@@ -5,7 +5,7 @@
+ #include <gnome--/private/clock_p.h>
+ #include <gnome--/construct_copies.h>
+ 
+-Gtk::Clock::Clock(Type type = REALTIME)
++Gtk::Clock::Clock(Type type)
+   : Gtk::Label(GTK_LABEL(gtk_object_new(get_type(),0)))
+ {
+   initialize_class();
diff --git a/x11-toolkits/gnome--/files/patch-src::gnome--::icon-item.cc b/x11-toolkits/gnome--/files/patch-src::gnome--::icon-item.cc
new file mode 100644
index 000000000000..9c5eee84adf7
--- /dev/null
+++ b/x11-toolkits/gnome--/files/patch-src::gnome--::icon-item.cc
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- src/gnome--/icon-item.cc	2002/07/16 10:42:28	1.1
++++ src/gnome--/icon-item.cc	2002/07/16 10:42:56
+@@ -27,7 +27,7 @@
+ void Gnome::IconTextItem::configure(int x, int y, int width,
+ 			      const Gtk::string &fontname,
+ 			      const Gtk::string &text,
+-			      bool is_editable = true)
++			      bool is_editable)
+ {
+   gnome_icon_text_item_configure(gtkobj(), x, y, width,
+                                  fontname.c_str(), text.c_str(),
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0