[gnome-builder] egg-signal-group: cleanup some warnings
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] egg-signal-group: cleanup some warnings
- Date: Fri, 1 May 2015 22:22:59 +0000 (UTC)
commit 0b55a33ec1655b009865668209eaed580f02823a
Author: Christian Hergert <christian hergert me>
Date: Fri May 1 15:22:53 2015 -0700
egg-signal-group: cleanup some warnings
contrib/egg/egg-signal-group.c | 8 ++++----
contrib/egg/egg-signal-group.h | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/contrib/egg/egg-signal-group.c b/contrib/egg/egg-signal-group.c
index dfd726d..6122805 100644
--- a/contrib/egg/egg-signal-group.c
+++ b/contrib/egg/egg-signal-group.c
@@ -391,14 +391,14 @@ egg_signal_group_connect_object (EggSignalGroup *self,
const gchar *detailed_signal,
GCallback callback,
gpointer data,
- GSignalFlags flags)
+ GConnectFlags flags)
{
SignalHandler *handler;
GClosure *closure;
- g_return_val_if_fail (EGG_IS_SIGNAL_GROUP (self), 0);
- g_return_val_if_fail (detailed_signal != NULL, 0);
- g_return_val_if_fail (callback != NULL, 0);
+ g_return_if_fail (EGG_IS_SIGNAL_GROUP (self));
+ g_return_if_fail (detailed_signal != NULL);
+ g_return_if_fail (callback != NULL);
if ((flags & G_CONNECT_SWAPPED) != 0)
closure = g_cclosure_new_object_swap (callback, data);
diff --git a/contrib/egg/egg-signal-group.h b/contrib/egg/egg-signal-group.h
index 3e42aa4..78d2297 100644
--- a/contrib/egg/egg-signal-group.h
+++ b/contrib/egg/egg-signal-group.h
@@ -32,7 +32,7 @@ void egg_signal_group_connect_object (EggSignalGroup *self,
const gchar *detailed_signal,
GCallback c_handler,
gpointer data,
- GSignalFlags flags);
+ GConnectFlags flags);
void egg_signal_group_set_target (EggSignalGroup *self,
gpointer target);
gpointer egg_signal_group_get_target (EggSignalGroup *self);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]