[gtkmm-documentation] Fix the build with the latest gtkmm from git master.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm-documentation] Fix the build with the latest gtkmm from git master.
- Date: Fri, 3 Dec 2010 15:45:34 +0000 (UTC)
commit 5d32c2e18346435168b4a7d2341f707470662531
Author: Murray Cumming <murrayc murrayc com>
Date: Fri Dec 3 16:45:23 2010 +0100
Fix the build with the latest gtkmm from git master.
* examples/book/combobox/text/examplewindow.cc: Adapted to the append_text()
to append() change.
ChangeLog | 7 +++++++
examples/book/combobox/entry_text/examplewindow.cc | 6 +++---
examples/book/combobox/text/examplewindow.cc | 6 +++---
examples/book/printing/advanced/previewdialog.cc | 2 +-
4 files changed, 14 insertions(+), 7 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 5183b5d..0ecdc0c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-12-03 Murray Cumming <murrayc murrayc com>
+
+ Fix the build with the latest gtkmm from git master.
+
+ * examples/book/combobox/text/examplewindow.cc: Adapted to the append_text()
+ to append() change.
+
2.91.5:
2010-11-26 Murray Cumming <murrayc murrayc com>
diff --git a/examples/book/combobox/entry_text/examplewindow.cc b/examples/book/combobox/entry_text/examplewindow.cc
index 6125026..325f52e 100644
--- a/examples/book/combobox/entry_text/examplewindow.cc
+++ b/examples/book/combobox/entry_text/examplewindow.cc
@@ -26,9 +26,9 @@ ExampleWindow::ExampleWindow()
set_title("ComboBoxText example");
//Fill the combo:
- m_Combo.append_text("something");
- m_Combo.append_text("something else");
- m_Combo.append_text("something or other");
+ m_Combo.append("something");
+ m_Combo.append("something else");
+ m_Combo.append("something or other");
add(m_Combo);
diff --git a/examples/book/combobox/text/examplewindow.cc b/examples/book/combobox/text/examplewindow.cc
index b555cfa..66a0cde 100644
--- a/examples/book/combobox/text/examplewindow.cc
+++ b/examples/book/combobox/text/examplewindow.cc
@@ -25,9 +25,9 @@ ExampleWindow::ExampleWindow()
set_title("ComboBoxText example");
//Fill the combo:
- m_Combo.append_text("something");
- m_Combo.append_text("something else");
- m_Combo.append_text("something or other");
+ m_Combo.append("something");
+ m_Combo.append("something else");
+ m_Combo.append("something or other");
add(m_Combo);
diff --git a/examples/book/printing/advanced/previewdialog.cc b/examples/book/printing/advanced/previewdialog.cc
index aee1ac4..c50250f 100644
--- a/examples/book/printing/advanced/previewdialog.cc
+++ b/examples/book/printing/advanced/previewdialog.cc
@@ -81,7 +81,7 @@ void PreviewDialog::on_drawing_area_realized()
if(gdk_window)
{
Cairo::RefPtr<Cairo::Context> cairo_ctx =
- gdk_window->create_cairo_context();
+ gdk_window->create_cairo_context();
if(m_refPrintContext)
m_refPrintContext->set_cairo_context(cairo_ctx, 72, 72);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]