C++ fixes for gcc3
This commit is contained in:
parent
3e8623df44
commit
6ff05154be
37
x11/gnomemm/patches/patch-src_app_gen_h
Normal file
37
x11/gnomemm/patches/patch-src_app_gen_h
Normal file
@ -0,0 +1,37 @@
|
||||
$OpenBSD: patch-src_app_gen_h,v 1.1 2002/09/29 21:13:43 naddy Exp $
|
||||
--- src/app.gen_h.orig Sun Sep 29 22:43:29 2002
|
||||
+++ src/app.gen_h Sun Sep 29 22:44:57 2002
|
||||
@@ -442,13 +442,13 @@ Gnome::Dialog* App::request_password(con
|
||||
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);
|
||||
}
|
||||
@@ -490,7 +490,7 @@ namespace App_Helpers {
|
||||
|
||||
Progress::Progress(Gnome::App& app,
|
||||
const Gtk::string &description,
|
||||
- Cancel cancel=0)
|
||||
+ Cancel cancel)
|
||||
{
|
||||
ProgressCallbackData *data=new ProgressCallbackData();
|
||||
data->cancel=cancel;
|
||||
@@ -505,7 +505,7 @@ Progress::Progress(Gnome::App& app,
|
||||
const Gtk::string &description,
|
||||
guint32 interval,
|
||||
Update percent,
|
||||
- Cancel cancel=0)
|
||||
+ Cancel cancel)
|
||||
{
|
||||
ProgressCallbackData *data=new ProgressCallbackData();
|
||||
data->cancel=cancel;
|
12
x11/gnomemm/patches/patch-src_clock_gen_h
Normal file
12
x11/gnomemm/patches/patch-src_clock_gen_h
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_clock_gen_h,v 1.1 2002/09/29 21:13:43 naddy Exp $
|
||||
--- src/clock.gen_h.orig Sun Sep 29 22:50:19 2002
|
||||
+++ src/clock.gen_h Sun Sep 29 22:50:58 2002
|
||||
@@ -104,7 +104,7 @@ IMPL_START;
|
||||
#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();
|
12
x11/gnomemm/patches/patch-src_gnome--_affinetrans_cc
Normal file
12
x11/gnomemm/patches/patch-src_gnome--_affinetrans_cc
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_gnome--_affinetrans_cc,v 1.1 2002/09/29 21:13:43 naddy Exp $
|
||||
--- src/gnome--/affinetrans.cc.orig Sun Sep 29 22:16:50 2002
|
||||
+++ src/gnome--/affinetrans.cc Sun Sep 29 22:17:00 2002
|
||||
@@ -29,7 +29,7 @@ namespace Gnome
|
||||
namespace Art
|
||||
{
|
||||
|
||||
-AffineTrans::AffineTrans(gdouble scale = 1.0)
|
||||
+AffineTrans::AffineTrans(gdouble scale)
|
||||
{
|
||||
trans_[0] = scale;
|
||||
trans_[1] = 0.0;
|
12
x11/gnomemm/patches/patch-src_icon-item_gen_h
Normal file
12
x11/gnomemm/patches/patch-src_icon-item_gen_h
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_icon-item_gen_h,v 1.1 2002/09/29 21:13:43 naddy Exp $
|
||||
--- src/icon-item.gen_h.orig Sun Sep 29 22:56:17 2002
|
||||
+++ src/icon-item.gen_h Sun Sep 29 22:56:48 2002
|
||||
@@ -101,7 +101,7 @@ Gnome::IconTextItem::IconTextItem(const
|
||||
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(),
|
Loading…
Reference in New Issue
Block a user