[nemiver] Style cleanup
- From: Dodji Seketeli <dodji src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nemiver] Style cleanup
- Date: Mon, 28 May 2012 21:43:10 +0000 (UTC)
commit 5278f552d800db7a732353e125fe76dea35ef40a
Author: Dodji Seketeli <dodji seketeli org>
Date: Mon May 28 14:54:52 2012 +0200
Style cleanup
* src/persp/dbgperspective/nmv-local-vars-inspector.cc
(LocalVarsInspector::Priv::init_graphical_signals): Add comment.
* src/persp/dbgperspective/nmv-var-inspector-dialog.cc
(VarInspectorDialog::inspect_variable): Remove useless assert.
.../dbgperspective/nmv-local-vars-inspector.cc | 2 ++
.../dbgperspective/nmv-var-inspector-dialog.cc | 1 -
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/persp/dbgperspective/nmv-local-vars-inspector.cc b/src/persp/dbgperspective/nmv-local-vars-inspector.cc
index 4167b44..2323774 100644
--- a/src/persp/dbgperspective/nmv-local-vars-inspector.cc
+++ b/src/persp/dbgperspective/nmv-local-vars-inspector.cc
@@ -231,6 +231,8 @@ public:
tree_view->signal_row_activated ().connect
(sigc::mem_fun (*this,
&Priv::on_tree_view_row_activated_signal));
+ // Schedule the button press signal handler to be run before
+ // the default handler.
tree_view->signal_button_press_event ().connect_notify
(sigc::mem_fun (this, &Priv::on_button_press_signal));
tree_view->signal_draw ().connect_notify
diff --git a/src/persp/dbgperspective/nmv-var-inspector-dialog.cc b/src/persp/dbgperspective/nmv-var-inspector-dialog.cc
index e7994e3..5aeda14 100644
--- a/src/persp/dbgperspective/nmv-var-inspector-dialog.cc
+++ b/src/persp/dbgperspective/nmv-var-inspector-dialog.cc
@@ -319,7 +319,6 @@ VarInspectorDialog::inspect_variable (const UString &a_var_name)
{
THROW_IF_FAIL (m_priv);
THROW_IF_FAIL (m_priv->var_name_entry);
- THROW_IF_FAIL (m_priv->var_inspector);
if (a_var_name != "") {
m_priv->var_name_entry->get_entry ()->set_text (a_var_name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]