[gtkmm-documentation] Application examples: Remove now-unnecessary calls to init_gtkmm().
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm-documentation] Application examples: Remove now-unnecessary calls to init_gtkmm().
- Date: Tue, 28 Feb 2012 09:03:52 +0000 (UTC)
commit f34dee1cef671e5ed51ef301607ee9c30b9171b7
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Feb 15 10:41:29 2012 +0100
Application examples: Remove now-unnecessary calls to init_gtkmm().
* examples/book/application/command_line_handling/exampleapplication.cc:
* examples/book/application/simple/exampleapplication.cc:
The latest gtkmm in git master makes these calls unnecessary.
ChangeLog | 8 ++++++++
.../command_line_handling/exampleapplication.cc | 2 --
.../book/application/simple/exampleapplication.cc | 2 --
3 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index c32ed9b..1d1d3cb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2012-02-15 Murray Cumming <murrayc murrayc com>
+
+ Application examples: Remove now-unnecessary calls to init_gtkmm().
+
+ * examples/book/application/command_line_handling/exampleapplication.cc:
+ * examples/book/application/simple/exampleapplication.cc:
+ The latest gtkmm in git master makes these calls unnecessary.
+
2012-02-13 Murray Cumming <murrayc murrayc com>
Application examples: Minor clarification.
diff --git a/examples/book/application/command_line_handling/exampleapplication.cc b/examples/book/application/command_line_handling/exampleapplication.cc
index 790a626..331f0f9 100644
--- a/examples/book/application/command_line_handling/exampleapplication.cc
+++ b/examples/book/application/command_line_handling/exampleapplication.cc
@@ -27,8 +27,6 @@ ExampleApplication::ExampleApplication()
Glib::RefPtr<ExampleApplication> ExampleApplication::create()
{
- init_gtkmm();
-
return Glib::RefPtr<ExampleApplication>( new ExampleApplication() );
}
diff --git a/examples/book/application/simple/exampleapplication.cc b/examples/book/application/simple/exampleapplication.cc
index 8691dae..7a6b012 100644
--- a/examples/book/application/simple/exampleapplication.cc
+++ b/examples/book/application/simple/exampleapplication.cc
@@ -25,8 +25,6 @@ ExampleApplication::ExampleApplication()
Glib::RefPtr<ExampleApplication> ExampleApplication::create()
{
- init_gtkmm();
-
return Glib::RefPtr<ExampleApplication>( new ExampleApplication() );
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]