[Xfce4-commits] [xfce/exo] 02/03: Replace deprecated G_INLINE_FUNC macro

noreply at xfce.org noreply at xfce.org
Sat Apr 11 20:29:35 CEST 2020


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

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/exo.

commit 99b499183ff5ca1c68547b5c06aff47f05273842
Author: Andre Miranda <andreldm at xfce.org>
Date:   Sat Apr 11 15:28:10 2020 -0300

    Replace deprecated G_INLINE_FUNC macro
---
 exo/exo-utils.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/exo/exo-utils.h b/exo/exo-utils.h
index 489fcf5..3b4bcdb 100644
--- a/exo/exo-utils.h
+++ b/exo/exo-utils.h
@@ -41,8 +41,8 @@ gboolean                exo_noop_false  (void) G_GNUC_PURE;
 /* inline function implementations */
 #if (defined(G_CAN_INLINE) && defined(__GNUC__) && defined(__i386__) && defined(__OPTIMIZE__)) || defined(__EXO_UTILS_C__)
 
-G_INLINE_FUNC void      exo_atomic_inc  (gint *value);
-G_INLINE_FUNC gboolean  exo_atomic_dec  (gint *value);
+static inline void      exo_atomic_inc  (gint *value);
+static inline gboolean  exo_atomic_dec  (gint *value);
 
 /**
  * exo_atomic_inc:
@@ -55,7 +55,7 @@ G_INLINE_FUNC gboolean  exo_atomic_dec  (gint *value);
  *
  * Since : 0.3.1
  **/
-G_INLINE_FUNC void
+static inline void
 exo_atomic_inc (gint *value)
 {
 #if defined(__GNUC__) && defined(__i386__) && defined(__OPTIMIZE__)
@@ -81,7 +81,7 @@ exo_atomic_inc (gint *value)
  *
  * Since : 0.3.1
  **/
-G_INLINE_FUNC gboolean
+static inline gboolean
 exo_atomic_dec (gint *value)
 {
 #if defined(__GNUC__) && defined(__i386__) && defined(__OPTIMIZE__)

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


More information about the Xfce4-commits mailing list