[calls] record-row: Rename callback to conform to on_* naming scheme



commit d94792f3c5d6caecb9ff2d0693e1ac3945973d5c
Author: Evangelos Ribeiro Tzaras <devrtz fortysixandtwo eu>
Date:   Sat Jul 23 14:17:37 2022 +0200

    record-row: Rename callback to conform to on_* naming scheme

 src/calls-call-record-row.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/calls-call-record-row.c b/src/calls-call-record-row.c
index e3a089d4..2dec9a55 100644
--- a/src/calls-call-record-row.c
+++ b/src/calls-call-record-row.c
@@ -394,10 +394,10 @@ calls_call_record_row_popup_menu (GtkWidget *self)
 
 
 static void
-long_pressed (GtkGestureLongPress *gesture,
-              gdouble              x,
-              gdouble              y,
-              GtkWidget           *self)
+on_long_pressed (GtkGestureLongPress *gesture,
+                 gdouble              x,
+                 gdouble              y,
+                 GtkWidget           *self)
 {
   context_menu (self, NULL);
 }
@@ -628,7 +628,7 @@ calls_call_record_row_init (CallsCallRecordRow *self)
 
   self->gesture = gtk_gesture_long_press_new (GTK_WIDGET (self->event_box));
   gtk_gesture_single_set_touch_only (GTK_GESTURE_SINGLE (self->gesture), TRUE);
-  g_signal_connect (self->gesture, "pressed", G_CALLBACK (long_pressed), self);
+  g_signal_connect (self->gesture, "pressed", G_CALLBACK (on_long_pressed), self);
 }
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]