[gnome-builder] signal-group: Rename test function



commit 3c0f26d7ab7475f41477743cc6f8c724b77580d2
Author: Garrett Regier <garrett regier riftio com>
Date:   Tue Jun 2 05:15:49 2015 -0700

    signal-group: Rename test function
    
    Better defines what the function is for.

 tests/test-egg-signal-group.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tests/test-egg-signal-group.c b/tests/test-egg-signal-group.c
index 500f099..7de99e4 100644
--- a/tests/test-egg-signal-group.c
+++ b/tests/test-egg-signal-group.c
@@ -114,8 +114,8 @@ connect_object_cb (SignalTarget   *target,
 }
 
 static void
-connect_data_cb (SignalTarget *target,
-                 gboolean     *weak_notify_called)
+connect_never_emitted_cb (SignalTarget *target,
+                          gboolean     *weak_notify_called)
 {
   g_error ("This signal is never emitted!");
 }
@@ -181,7 +181,7 @@ connect_all_signals (EggSignalGroup *group)
   global_weak_notify_called = FALSE;
   egg_signal_group_connect_data (group,
                                  "never-emitted",
-                                 G_CALLBACK (connect_data_cb),
+                                 G_CALLBACK (connect_never_emitted_cb),
                                  &global_weak_notify_called,
                                  (GClosureNotify)connect_data_notify_cb,
                                  0);


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