aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--gtk/ScintillaGTK.cxx13
1 files changed, 4 insertions, 9 deletions
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx
index d276bb8a6..192d916f0 100644
--- a/gtk/ScintillaGTK.cxx
+++ b/gtk/ScintillaGTK.cxx
@@ -173,32 +173,27 @@ enum {
#define SCINT_WIDGET(x) ((ScintillaGTK *) ((ScintillaObject *)x)->pscin)
-static gint scint_key_press(GtkWidget *widget, GdkEventKey *event)
-{
+static gint scint_key_press(GtkWidget *widget, GdkEventKey *event) {
ScintillaGTK *scint = SCINT_WIDGET(widget);
return scint->KeyPress(widget, event, scint);
}
-static gint scint_key_release(GtkWidget *widget, GdkEventKey *event)
-{
+static gint scint_key_release(GtkWidget *widget, GdkEventKey *event) {
ScintillaGTK *scint = SCINT_WIDGET(widget);
return scint->KeyRelease(widget, event, scint);
}
-static gint scint_focus_in(GtkWidget *widget, GdkEventFocus *event)
-{
+static gint scint_focus_in(GtkWidget *widget, GdkEventFocus *event) {
ScintillaGTK *scint = SCINT_WIDGET(widget);
return scint->FocusIn(widget, event, scint);
}
-static gint scint_focus_out(GtkWidget *widget, GdkEventFocus *event)
-{
+static gint scint_focus_out(GtkWidget *widget, GdkEventFocus *event) {
ScintillaGTK *scint = SCINT_WIDGET(widget);
return scint->FocusOut(widget, event, scint);
}
#endif // DEFAULT_SIG_HANDLERS
-
ScintillaGTK::ScintillaGTK(_ScintillaObject *sci_) :
adjustmentv(0), adjustmenth(0),
pasteBuffer(0), pasteBufferIsRectangular(false),