gtkmm-documentation r52 - in trunk: . docs/tutorial examples/book/libglademm/derived examples/book/libglademm/simple
- From: murrayc svn gnome org
- To: svn-commits-list gnome org
- Subject: gtkmm-documentation r52 - in trunk: . docs/tutorial examples/book/libglademm/derived examples/book/libglademm/simple
- Date: Mon, 16 Jun 2008 10:03:22 +0000 (UTC)
Author: murrayc
Date: Mon Jun 16 10:03:22 2008
New Revision: 52
URL: http://svn.gnome.org/viewvc/gtkmm-documentation?rev=52&view=rev
Log:
2008-06-16 Murray Cumming <murrayc murrayc com>
>
> * docs/tutorial/Makefile.am: Correct the validate target to use the
> file in C/
> * examples/book/libglademm/simple/main.cc: Delete the dialog when we
> are finished. The derived example already did this.
Modified:
trunk/ChangeLog
trunk/docs/tutorial/Makefile.am
trunk/examples/book/libglademm/derived/main.cc
trunk/examples/book/libglademm/simple/main.cc
Modified: trunk/docs/tutorial/Makefile.am
==============================================================================
--- trunk/docs/tutorial/Makefile.am (original)
+++ trunk/docs/tutorial/Makefile.am Mon Jun 16 10:03:22 2008
@@ -83,7 +83,7 @@
-o html/ --xinclude --catalogs $(DOCBOOK_STYLESHEET) \
$<
-validate_original: gtkmm-tut.xml
+validate_original: C/gtkmm-tut.xml
$(XMLLINT) --xinclude --postvalid --noout $<
validate: C/gtkmm-tut-with-examples.xml
Modified: trunk/examples/book/libglademm/derived/main.cc
==============================================================================
--- trunk/examples/book/libglademm/derived/main.cc (original)
+++ trunk/examples/book/libglademm/derived/main.cc Mon Jun 16 10:03:22 2008
@@ -57,8 +57,8 @@
}
delete pDialog;
+ pDialog = 0;
-
return 0;
}
Modified: trunk/examples/book/libglademm/simple/main.cc
==============================================================================
--- trunk/examples/book/libglademm/simple/main.cc (original)
+++ trunk/examples/book/libglademm/simple/main.cc Mon Jun 16 10:03:22 2008
@@ -37,7 +37,6 @@
#endif
//Get the Glade-instantiated Dialog:
-
refXml->get_widget("DialogBasic", pDialog);
if(pDialog)
{
@@ -50,6 +49,9 @@
}
kit.run(*pDialog);
+
+ delete pDialog;
+ pDialog = 0;
}
return 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]