glibmm-01-build.diff revision 18458
12378N/A--- examples/compose/main.cc.orig 2008-02-14 18:01:55.520757000 +0800
12378N/A+++ examples/compose/main.cc 2008-02-14 18:02:22.188034000 +0800
12378N/A@@ -36,9 +36,6 @@
12378N/A << std::endl
12378N/A << ustring::compose("%2 is greater than %1.", a, b)
12378N/A << std::endl
12378N/A- << ustring::compose("%1 € are %3 %% of %2 €.", a, b,
12378N/A- ustring::format(std::fixed, std::setprecision(1), a / b * 100.0))
12378N/A- << std::endl
12378N/A << ustring::compose("a : b = [%1|%2]",
12378N/A ustring::format(std::setfill(L'a'), std::setw(i), ""),
12378N/A ustring::format(std::setfill(L'b'), std::setw(40 - i), ""))
13811N/A--- tests/glibmm_ustring_compose/main.cc.orig 2008-08-07 17:29:05.299259187 +0800
13811N/A+++ tests/glibmm_ustring_compose/main.cc 2008-08-07 17:27:57.073869820 +0800
13811N/A@@ -19,7 +19,7 @@
13811N/A int i = 1;
13811N/A std::cout << Glib::ustring::compose("Compose strings: %1 and %2", 'f', &i) << std::endl;
13811N/A
13811N/A- std::cout << Glib::ustring::compose("%1 is lower than 0x%2.", 12, Glib::ustring::format(std::hex, 16)) << std::endl;
13811N/A+ //std::cout << Glib::ustring::compose("%1 is lower than 0x%2.", 12, Glib::ustring::format(std::hex, 16)) << std::endl;
13811N/A
13811N/A //TODO: More tests.
13811N/A
18458N/Adiff -ruN gio.orig/giomm/drive.cc gio/giomm/drive.cc
18458N/A--- gio.orig/giomm/drive.cc 2010-03-14 06:24:19.418208171 +0000
18458N/A+++ gio/giomm/drive.cc 2010-03-14 06:24:39.550049903 +0000
18458N/A@@ -401,10 +401,10 @@
18458N/A return g_drive_has_volumes(const_cast<GDrive*>(gobj()));
18458N/A }
18458N/A
18458N/A-Glib::ListHandle< Glib::RefPtr<Volume> > Drive::get_volumes()
18458N/A+/*Glib::ListHandle< Glib::RefPtr<Volume> > Drive::get_volumes()
18458N/A {
18458N/A return Glib::ListHandle< Glib::RefPtr<Volume> >(g_drive_get_volumes(gobj()), Glib::OWNERSHIP_SHALLOW);
18458N/A-}
18458N/A+}*/
18458N/A
18458N/A bool Drive::is_media_removable() const
18458N/A {