[nemiver] Style cleanup in nmv-set-breakpoint-dialog.cc
- From: Dodji Seketeli <dodji src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nemiver] Style cleanup in nmv-set-breakpoint-dialog.cc
- Date: Fri, 15 Oct 2010 20:48:55 +0000 (UTC)
commit 82a1f0e43261107382b7fa5a53c0e4856d25483d
Author: Dodji Seketeli <dodji seketeli org>
Date: Fri Oct 15 22:10:58 2010 +0200
Style cleanup in nmv-set-breakpoint-dialog.cc
* src/persp/dbgperspective/nmv-set-breakpoint-dialog.cc
(EventComboModelColumn::EventComboModelColumn)
(SetBreakpointDialog::event): Space before function call
operator's parenthesis.
(SetBreakpointDialog::Priv::Priv): Use false in lieu of 0.
.../dbgperspective/nmv-set-breakpoint-dialog.cc | 22 ++++++++++----------
1 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/src/persp/dbgperspective/nmv-set-breakpoint-dialog.cc b/src/persp/dbgperspective/nmv-set-breakpoint-dialog.cc
index ee448f4..9644242 100644
--- a/src/persp/dbgperspective/nmv-set-breakpoint-dialog.cc
+++ b/src/persp/dbgperspective/nmv-set-breakpoint-dialog.cc
@@ -46,8 +46,8 @@ class EventComboModelColumns
public:
EventComboModelColumns()
{
- add(m_label);
- add(m_command);
+ add (m_label);
+ add (m_command);
}
Gtk::TreeModelColumn<Glib::ustring> m_label;
Gtk::TreeModelColumn<UString> m_command;
@@ -96,31 +96,31 @@ public:
combo_event =
ui_utils::get_widget_from_gtkbuilder<Gtk::ComboBox>
(a_gtkbuilder, "combo_event");
- combo_event_model = Gtk::TreeStore::create(combo_event_col_model);
- combo_event->set_model(combo_event_model);
+ combo_event_model = Gtk::TreeStore::create (combo_event_col_model);
+ combo_event->set_model (combo_event_model);
Gtk::TreeModel::Row row;
- row = *(combo_event_model->append());
+ row = *(combo_event_model->append ());
row[combo_event_col_model.m_label] = _("Throw Exception");
row[combo_event_col_model.m_command] = "throw";
- row = *(combo_event_model->append());
+ row = *(combo_event_model->append ());
row[combo_event_col_model.m_label] = _("Catch Exception");
row[combo_event_col_model.m_command] = "catch";
- row = *(combo_event_model->append());
+ row = *(combo_event_model->append ());
row[combo_event_col_model.m_label] = _("fork system call");
row[combo_event_col_model.m_command] = "fork";
- row = *(combo_event_model->append());
+ row = *(combo_event_model->append ());
row[combo_event_col_model.m_label] = _("vfork system call");
row[combo_event_col_model.m_command] = "vfork";
- row = *(combo_event_model->append());
+ row = *(combo_event_model->append ());
row[combo_event_col_model.m_label] = _("exec system call");
row[combo_event_col_model.m_command] = "exec";
- combo_event->set_active (0);
+ combo_event->set_active (false);
entry_filename =
ui_utils::get_widget_from_gtkbuilder<Gtk::Entry>
@@ -461,7 +461,7 @@ SetBreakpointDialog::event () const
{
THROW_IF_FAIL (m_priv);
THROW_IF_FAIL (m_priv->combo_event);
- return m_priv->get_active_event();
+ return m_priv->get_active_event ();
}
void SetBreakpointDialog::event (const UString &a_event)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]