From e2c3b8f189b725c016cd516a2359a0ba1cf9cbe0 Mon Sep 17 00:00:00 2001 From: Jabier Arraiza Date: Thu, 9 May 2019 23:45:00 +0200 Subject: fix coding style --- src/ui/dialog/livepatheffect-add.cpp | 10 +++++----- src/ui/dialog/livepatheffect-add.h | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/ui/dialog/livepatheffect-add.cpp b/src/ui/dialog/livepatheffect-add.cpp index dc82a2ed0..5da748a4b 100644 --- a/src/ui/dialog/livepatheffect-add.cpp +++ b/src/ui/dialog/livepatheffect-add.cpp @@ -100,7 +100,7 @@ LivePathEffectAdd::LivePathEffectAdd() _LPEFilter->signal_search_changed().connect(sigc::mem_fun(*this, &LivePathEffectAdd::on_search)); _LPEDialogSelector->add_events(Gdk::POINTER_MOTION_MASK | Gdk::BUTTON_PRESS_MASK | Gdk::BUTTON_RELEASE_MASK | Gdk::ENTER_NOTIFY_MASK | Gdk::LEAVE_NOTIFY_MASK | Gdk::KEY_PRESS_MASK); - _LPESelectorFlowBox->signal_set_focus_child().connect(sigc::mem_fun(*this, &LivePathEffectAdd::on_focus)); + _LPESelectorFlowBox->signal_set_focus_child().connect(sigc::mem_fun(*this, &LivePathEffectAdd::on_focus)); for (int i = 0; i < static_cast(converter._length); ++i) { Glib::RefPtr builder_effect; try { @@ -118,7 +118,7 @@ LivePathEffectAdd::LivePathEffectAdd() Gtk::EventBox *LPESelectorEffectEventExpander; builder_effect->get_widget("LPESelectorEffectEventExpander", LPESelectorEffectEventExpander); LPESelectorEffectEventExpander->signal_button_press_event().connect( - sigc::bind>(sigc::mem_fun(*this, &LivePathEffectAdd::expand), builder_effect)); + sigc::bind>(sigc::mem_fun(*this, &LivePathEffectAdd::expand), builder_effect)); LPESelectorEffectEventExpander->signal_enter_notify_event().connect(sigc::bind( sigc::mem_fun(*this, &LivePathEffectAdd::mouseover), GTK_WIDGET(LPESelectorEffect->gobj()))); LPESelectorEffectEventExpander->signal_leave_notify_event().connect(sigc::bind( @@ -207,7 +207,7 @@ LivePathEffectAdd::LivePathEffectAdd() int height; window->get_size(width, height); _LPEDialogSelector->resize(std::min(width - 300, 1440), std::min(height - 300, 900)); - _LPEDialogSelector->set_transient_for(*window); + _LPEDialogSelector->set_transient_for(*window); _LPESelectorFlowBox->set_focus_vadjustment(_LPEScrolled->get_vadjustment()); _LPEDialogSelector->show_all_children(); } @@ -249,7 +249,7 @@ void LivePathEffectAdd::on_focus(Gtk::Widget *widget) } } } - + child->show_all_children(); _LPESelectorFlowBox->select_child(*child); } @@ -360,7 +360,7 @@ bool LivePathEffectAdd::apply(GdkEventButton *evt, Glib::RefPtr bu } bool LivePathEffectAdd::on_press_enter(GdkEventKey *key, Glib::RefPtr builder_effect, - const LivePathEffect::EnumEffectData *to_add) + const LivePathEffect::EnumEffectData *to_add) { if (key->keyval == 65293 || key->keyval == 65421) { _to_add = to_add; diff --git a/src/ui/dialog/livepatheffect-add.h b/src/ui/dialog/livepatheffect-add.h index 51945060d..d49d76b28 100644 --- a/src/ui/dialog/livepatheffect-add.h +++ b/src/ui/dialog/livepatheffect-add.h @@ -72,7 +72,7 @@ class LivePathEffectAdd { bool apply(GdkEventButton *evt, Glib::RefPtr builder_effect, const LivePathEffect::EnumEffectData *to_add); bool on_press_enter(GdkEventKey *key, Glib::RefPtr builder_effect, - const LivePathEffect::EnumEffectData *to_add); + const LivePathEffect::EnumEffectData *to_add); bool expand(GdkEventButton *evt, Glib::RefPtr builder_effect); bool show_fav_toggler(GdkEventButton *evt); bool mouseover(GdkEventCrossing *evt, GtkWidget *wdg); -- cgit v1.2.3