Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3360 - gnomemm-1.2.2-r1 compile fix
Summary: gnomemm-1.2.2-r1 compile fix
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Brandon Low (RETIRED)
URL:
Whiteboard:
Keywords:
: 3171 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-06-03 16:28 UTC by Thomas Weidner
Modified: 2002-06-03 21:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Weidner 2002-06-03 16:28:05 UTC
gnomemm-1.2.2-r1 won't compile on my system:here is a small patch : 
 
iff -ur gnomemm-1.2.2/src/app.gen_h gnomemm-1.2.2-new/src/app.gen_h 
--- gnomemm-1.2.2/src/app.gen_h	Sat Jul 21 00:09:29 2001 
+++ gnomemm-1.2.2-new/src/app.gen_h	Mon Jun  3 23:00:38 2002 
@@ -62,9 +62,9 @@ 
   void set(gdouble percent); 
   void done(); 
 
-  Progress(Gnome::App&, const Gtk::string &description, Cancel cancel=0); 
+  Progress(Gnome::App&, const Gtk::string &description, Cancel cancel); 
   Progress(Gnome::App&, const Gtk::string &description, guint32 interval, 
-           Update percent, Cancel cancel=0); 
+           Update percent, Cancel cancel); 
 
 protected: 
   GnomeAppProgressKey key_; 
@@ -256,11 +256,11 @@ 
 
   typedef App_Helpers::Progress Progress; 
   //: Create a progress indicator. 
-  Progress progress(const Gtk::string &description, Progress::Cancel 
cancel=0); 
+  Progress progress(const Gtk::string &description, Progress::Cancel cancel); 
 
   //: Create a progress indicator at intervals. 
   Progress progress(const Gtk::string &description, guint32 interval, 
-                    Progress::Update percent, Progress::Cancel cancel=0); 
+                    Progress::Update percent, Progress::Cancel cancel); 
  
 private: 
   //: add() is not applicable 
diff -ur gnomemm-1.2.2/src/clock.gen_h gnomemm-1.2.2-new/src/clock.gen_h 
--- gnomemm-1.2.2/src/clock.gen_h	Thu Feb  8 20:31:28 2001 
+++ gnomemm-1.2.2-new/src/clock.gen_h	Mon Jun  3 23:01:13 2002 
@@ -104,7 +104,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 -ur gnomemm-1.2.2/src/gnome--/affinetrans.cc 
gnomemm-1.2.2-new/src/gnome--/affinetrans.cc 
--- gnomemm-1.2.2/src/gnome--/affinetrans.cc	Thu Mar  8 16:47:16 2001 
+++ gnomemm-1.2.2-new/src/gnome--/affinetrans.cc	Mon Jun  3 22:57:26 
2002 
@@ -29,7 +29,7 @@ 
 namespace Art 
 { 
 
-AffineTrans::AffineTrans(gdouble scale = 1.0) 
+AffineTrans::AffineTrans(gdouble scale) 
 { 
   trans_[0] = scale; 
   trans_[1] = 0.0; 
diff -ur gnomemm-1.2.2/src/icon-item.gen_h 
gnomemm-1.2.2-new/src/icon-item.gen_h 
--- gnomemm-1.2.2/src/icon-item.gen_h	Thu Feb  8 19:51:34 2001 
+++ gnomemm-1.2.2-new/src/icon-item.gen_h	Mon Jun  3 23:04:18 2002 
@@ -101,7 +101,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(),
Comment 1 Brandon Low (RETIRED) gentoo-dev 2002-06-03 17:13:00 UTC
can you attach this patch or e-mail it or something it got mangled in the copy
paste mess.  Thanks!
Comment 2 Brandon Low (RETIRED) gentoo-dev 2002-06-03 17:14:23 UTC
*** Bug 3171 has been marked as a duplicate of this bug. ***
Comment 3 Brandon Low (RETIRED) gentoo-dev 2002-06-03 21:45:53 UTC
I do by hand to test, looks good commiting and masking for 2.95.3 testing :-D