[gtkmm-documentation] Remove use of Gtk::Application, for now.



commit 2fbab549ef30c933e966ab4f191ad63a6aecc153
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue Sep 27 10:32:37 2011 +0200

    Remove use of Gtk::Application, for now.
    
    * examples/Makefile.am:
    * examples/book/application/:
    * examples/book/base/base.cc: Gtk::Application has been removed from gtkmm
    again. We can add this back later. See bug #637445#c29 .

 ChangeLog                                          |   68 +---------
 examples/Makefile.am                               |   18 ---
 .../command_line_handling/exampleapplication.cc    |  143 --------------------
 .../command_line_handling/exampleapplication.h     |   43 ------
 .../command_line_handling/exampleoptiongroup.cc    |   42 ------
 .../command_line_handling/exampleoptiongroup.h     |   33 -----
 .../command_line_handling/examplewindow.cc         |   66 ---------
 .../command_line_handling/examplewindow.h          |   38 -----
 .../book/application/command_line_handling/main.cc |   35 -----
 .../book/application/simple/exampleapplication.cc  |   89 ------------
 .../book/application/simple/exampleapplication.h   |   42 ------
 examples/book/application/simple/examplewindow.cc  |   66 ---------
 examples/book/application/simple/examplewindow.h   |   38 -----
 examples/book/application/simple/main.cc           |   35 -----
 examples/book/base/base.cc                         |    8 +-
 15 files changed, 9 insertions(+), 755 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 3a34fe2..418a6ff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,69 +1,11 @@
-2011-09-19  Kjell Ahlstedt <kjell ahlstedt bredband net>
+2011-09-27  Murray Cumming  <murrayc murrayc com>
 
-	Dialogs chapter and examples: Finish replacement of FontSelectionDialog.
-
-	* examples/book/dialogs/colorselectiondialog/examplewindow.[h|cc]:
-	Add a plain Button that opens a ColorSelectionDialog.
-	* examples/book/dialogs/fontchooserdialog/examplewindow.[h|cc]:
-	Add a plain Button that opens a FontChooserDialog.
-	* docs/tutorial/C/gtkmm-tutorial-in.xml: Replace get_vbox() by
-	get_content_area(). Replace all references to FontSelectionDialog by
-	FontChooserDialog. Bug #658265.
-
-2011-09-11  Kjell Ahlstedt <kjell ahlstedt bredband net>
-
-	TreeView Popup example: Make sure the menu items are shown.
-
-	* examples/book/treeview/popup/treeview_withpopup.cc: Add a call to
-	m_Menu_Popup.show_all(). Bug #658265.
-
-2011-09-07  Kjell Ahlstedt <kjell ahlstedt bredband net>
-
-	Label and ProgressBar examples: Fix text. Fix orientation of a Box.
-
-	* examples/book/label/examplewindow.cc: Fix the orientation of m_VBox2.
-	Correct the text in the right-justified frame. Remove unneccessary
-	backslashes.
-	* examples/book/progressbar/examplewindow.[h|cc]: Use
-	ProgressBar::set_show_text() to control the text (new in gtkmm 3.0).
-	Rename on_checkbutton_orientation() to on_checkbutton_inverted().
-	Correct some comments. Bug #658265.
-
-2011-09-06  Kjell Ahlstedt <kjell ahlstedt bredband net>
-
-	Range Widgets example: Fix size and orientation of widgets.
-
-	* examples/book/range_widgets/examplewindow.cc: Fix the orientation of some
-	boxes and the size of the vertical scale widget. Bug #658265.
-
-2011-08-25  Murray Cumming  <murrayc murrayc com>
-
-	Replace use of deprecated FontSelectionDialog.
+	Remove use of Gtk::Application, for now.
 
 	* examples/Makefile.am:
-	* examples/book/dialogs/fontchooserdialog/: Rename to fontchooserdialog/,
-	though this is really just an example of FontChooserButton.
-  * examples/others/calendar/calendar.cc: Use FontButton instead of 
-  FontSelectionDialog.
-  * docs/tutorial/Makefile.am
-  * docs/tutorial/C/figures/: Rename the screenshot, though we should retake 
-  it. Let's redo them all soon.
-  * docs/tutorial/C/gtkmm-tutorial-in.xml: Update for this change too.
-	
-2011-08-05  Murray Cumming  <murrayc murrayc com>
-
-	Toolbar, Tooltips examples: Fix packing.
-
-	* examples/book/toolbar/examplewindow.cc:
-	* examples/book/tooltips/examplewindow.cc: Make sure that non-expanding 
-	widgets don't expand.
-
-2011-08-03  Murray Cumming  <murrayc murrayc com>
-
-	Simple application example: Fix a typo.
-
-	* examples/book/application/simple/exampleapplication.cc: on_open():
-	Use the i iterator, instead of 0.
+	* examples/book/application/:
+	* examples/book/base/base.cc: Gtk::Application has been removed from gtkmm
+	again. We can add this back later. See bug #637445#c29 .
 
 2011-03-24  Murray Cumming  <murrayc murrayc com>
 
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 6a44b03..5cb2f22 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -8,8 +8,6 @@ LDADD       = $(GTKMM_LIBS)
 
 check_PROGRAMS =					\
 	book/alignment/example				\
-	book/application/simple/example \
-	book/application/command_line_handling/example \
 	book/aspectframe/example			\
 	book/assistant/example				\
 	book/base/base					\
@@ -129,22 +127,6 @@ dist_noinst_DATA =				\
 	book/iconview/xmms.xpm			\
 	book/menus_and_toolbars/rain.png
 
-book_application_simple_example_SOURCES =		\
-	book/application/simple/exampleapplication.cc	\
-	book/application/simple/exampleapplication.h	\
-	book/application/simple/examplewindow.cc	\
-	book/application/simple/examplewindow.h	\
-	book/application/simple/main.cc
-
-book_application_command_line_handling_example_SOURCES =		\
-	book/application/command_line_handling/exampleapplication.cc	\
-	book/application/command_line_handling/exampleapplication.h	\
-	book/application/command_line_handling/exampleoptiongroup.cc	\
-	book/application/command_line_handling/exampleoptiongroup.h	\
-	book/application/command_line_handling/examplewindow.cc	\
-	book/application/command_line_handling/examplewindow.h	\
-	book/application/command_line_handling/main.cc
-
 book_alignment_example_SOURCES =		\
 	book/alignment/examplewindow.cc		\
 	book/alignment/examplewindow.h		\
diff --git a/examples/book/base/base.cc b/examples/book/base/base.cc
index 676bde2..36a6673 100644
--- a/examples/book/base/base.cc
+++ b/examples/book/base/base.cc
@@ -2,11 +2,11 @@
 
 int main(int argc, char *argv[])
 {
-  Glib::RefPtr<Gtk::Application> app =
-    Gtk::Application::create(argc, argv,
-      "org.gtkmm.examples.base");
+  Gtk::Main kit(argc, argv);
 
   Gtk::Window window;
 
-  return app->run(window);
+  Gtk::Main::run(window);
+
+  return EXIT_SUCCESS;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]