Use GLIB_DEPRECATED instead of G_GNUC_DEPRECATED in our headers
[platform/upstream/glib.git] / glib / gdate.h
index 6886a46..5b92191 100644 (file)
@@ -175,8 +175,9 @@ void         g_date_set_time_t            (GDate       *date,
 void         g_date_set_time_val          (GDate       *date,
                                           GTimeVal    *timeval);
 #ifndef G_DISABLE_DEPRECATED
+GLIB_DEPRECATED_FOR(g_date_set_time_t)
 void         g_date_set_time              (GDate       *date,
-                                           GTime        time_) G_GNUC_DEPRECATED_FOR(g_date_set_time_t);
+                                           GTime        time_);
 #endif
 void         g_date_set_month             (GDate       *date,
                                            GDateMonth   month);