regexxer r627 - in trunk: . src
- From: daniel svn gnome org
- To: svn-commits-list gnome org
- Subject: regexxer r627 - in trunk: . src
- Date: Thu, 11 Jan 2007 16:45:49 +0000 (GMT)
Author: daniel
Date: 2007-01-11 16:45:49 +0000 (Thu, 11 Jan 2007)
New Revision: 627
ViewCVS link: http://svn.gnome.org/viewcvs/regexxer?rev=627&view=rev
Modified:
trunk/ChangeLog
trunk/src/main.cc
trunk/src/mainwindow.cc
trunk/src/mainwindow.h
Log:
* src/main.cc (RegexxerOptions): Make init_state_ a value member
of the class instead creating it dynamically. This simplification
is now possible since the RegexxerOptions object will be allocated
dynamically anyway.
(RegexxerOptions::init_state): Rename from take_init_state(), and
make it return a const reference.
(main): Use new init_state() method when initializing the window.
* src/mainwindow.{cc,h} (MainWindow::initialize): Change init
parameter type to a const reference.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]