[Xfce4-commits] [apps/mousepad] 01/01: Use correct GConnectFlags enum instead of GSignalFlags

noreply at xfce.org noreply at xfce.org
Mon Jul 14 21:38:12 CEST 2014


This is an automated email from the git hooks/post-receive script.

mbrush pushed a commit to branch master
in repository apps/mousepad.

commit a0117df7b922a3c192e9c106449fdc13d2057009
Author: Matthew Brush <mbrush at codebrainz.ca>
Date:   Mon Jul 14 12:36:19 2014 -0700

    Use correct GConnectFlags enum instead of GSignalFlags
    
    It caused a warning like:
        implicit conversion from enumeration type 'GConnectFlags' to
        different enumeration type 'GSignalFlags'.
---
 mousepad/mousepad-settings.c |    8 ++++----
 mousepad/mousepad-settings.h |    2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/mousepad/mousepad-settings.c b/mousepad/mousepad-settings.c
index 0058318..a750161 100644
--- a/mousepad/mousepad-settings.c
+++ b/mousepad/mousepad-settings.c
@@ -90,10 +90,10 @@ mousepad_setting_bind (const gchar       *path,
 
 
 gulong
-mousepad_setting_connect (const gchar  *path,
-                           GCallback    callback,
-                           gpointer     user_data,
-                           GSignalFlags connect_flags)
+mousepad_setting_connect (const gchar   *path,
+                           GCallback     callback,
+                           gpointer      user_data,
+                           GConnectFlags connect_flags)
 {
   gulong       signal_id = 0;
   const gchar *key_name = NULL;
diff --git a/mousepad/mousepad-settings.h b/mousepad/mousepad-settings.h
index 6b530eb..d09ecb7 100644
--- a/mousepad/mousepad-settings.h
+++ b/mousepad/mousepad-settings.h
@@ -82,7 +82,7 @@ gboolean mousepad_setting_bind           (const gchar       *path,
 gulong   mousepad_setting_connect        (const gchar       *path,
                                           GCallback          callback,
                                           gpointer           user_data,
-                                          GSignalFlags       connect_flags);
+                                          GConnectFlags      connect_flags);
 
 gulong   mousepad_setting_connect_object (const gchar       *path,
                                           GCallback          callback,

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list