gtkmm-documentation r66 - in trunk: . examples/book/dialogs/aboutdialog
- From: jjongsma svn gnome org
- To: svn-commits-list gnome org
- Subject: gtkmm-documentation r66 - in trunk: . examples/book/dialogs/aboutdialog
- Date: Thu, 4 Sep 2008 13:08:11 +0000 (UTC)
Author: jjongsma
Date: Thu Sep 4 13:08:11 2008
New Revision: 66
URL: http://svn.gnome.org/viewvc/gtkmm-documentation?rev=66&view=rev
Log:
fix logic for closing the about dialog (Bug #550675)
Modified:
trunk/ChangeLog
trunk/examples/book/dialogs/aboutdialog/examplewindow.cc
Modified: trunk/examples/book/dialogs/aboutdialog/examplewindow.cc
==============================================================================
--- trunk/examples/book/dialogs/aboutdialog/examplewindow.cc (original)
+++ trunk/examples/book/dialogs/aboutdialog/examplewindow.cc Thu Sep 4 13:08:11 2008
@@ -64,7 +64,7 @@
{
std::cout << response_id << ", close=" << GTK_RESPONSE_CLOSE << ", cancel=" << GTK_RESPONSE_CANCEL << std::endl;
- if((response_id == Gtk::RESPONSE_CLOSE) &&
+ if((response_id == Gtk::RESPONSE_CLOSE) ||
(response_id == Gtk::RESPONSE_CANCEL) )
{
m_Dialog.hide();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]