Self Introduction
- From: "Fabrício Godoy" <skarllot gmail com>
- To: gtkmm-list gnome org
- Subject: Self Introduction
- Date: Sun, 14 Dec 2008 11:58:55 -0200
Name: Fabrício Godoy
City, Country: Santos, Brazil
Profession: C# programmer
Currently I learning C++/Gtkmm reading "Programming with gtkmm" tutorial, in hope to help the open source development.
Reading the tutorial (I'm not finished yet), I found minor errors as you can see below.
Thanks for great tutorial.
Index: examples/book/range_widgets/examplewindow.cc===================================================================
--- examples/book/range_widgets/examplewindow.cc (revisão 76)+++ examples/book/range_widgets/examplewindow.cc (cópia de trabalho)
@@ -192,8 +192,8 @@ void ExampleWindow::on_adjustment2_value_changed()
{ double val = m_adjustment_pagesize.get_value();
- m_adjustment.set_page_size((int)val);- m_adjustment.set_page_increment((int)val);
+ m_adjustment.set_page_size(val);+ m_adjustment.set_page_increment(val);
// note that we don't have to emit the "changed" signal;
// gtkmm does this for usIndex: examples/book/range_widgets/labeledoptionmenu.cc
===================================================================--- examples/book/range_widgets/labeledoptionmenu.cc (revisão 76)
+++ examples/book/range_widgets/labeledoptionmenu.cc (cópia de trabalho)@@ -27,7 +27,7 @@
pack_start(m_label, Gtk::PACK_SHRINK);
#ifndef GTKMM_DISABLE_DEPRECATED- m_OptionMenu.set_menu(*m_pMenu);
+ m_OptionMenu.set_menu(m_pMenu); pack_start(m_OptionMenu);
#endif //GTKMM_DISABLE_DEPRECATED }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]