diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-07-16 10:59:23 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-07-16 10:59:23 +0000 |
commit | 3c1ac86de39db9894c3ae97ee96bfd4fafd2c66d (patch) | |
tree | fc0747f73709250999f074339e87cade873d7d09 /x11-toolkits | |
parent | 371697434c2b1bb36c026fa2c0227c37c8257b03 (diff) | |
download | FreeBSD-ports-3c1ac86de39db9894c3ae97ee96bfd4fafd2c66d.zip FreeBSD-ports-3c1ac86de39db9894c3ae97ee96bfd4fafd2c66d.tar.gz |
Unbleak on -current with gcc 3.1.
Helped by: obrien, tjr
Diffstat (limited to 'x11-toolkits')
4 files changed, 81 insertions, 0 deletions
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 0000000..537ff03 --- /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 0000000..7491bffe --- /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 0000000..8952890 --- /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 0000000..9c5eee8 --- /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(), |