GVariant: support serialising to GVariantVectors
[platform/upstream/glib.git] / gio / gtask.h
index 2cc5f65..a4fd77e 100644 (file)
  * Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General
- * Public License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
- * Boston, MA 02111-1307, USA.
+ * Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
+#ifndef __G_TASK_H__
+#define __G_TASK_H__
+
 #if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
 #error "Only <gio/gio.h> can be included directly."
 #endif
 
-#ifndef __G_TASK_H__
-#define __G_TASK_H__
-
 #include <gio/giotypes.h>
 
 G_BEGIN_DECLS
@@ -61,7 +59,7 @@ void          g_task_report_new_error      (gpointer             source_object,
                                             GQuark               domain,
                                             gint                 code,
                                             const char          *format,
-                                            ...);
+                                            ...) G_GNUC_PRINTF(7, 8);
 
 GLIB_AVAILABLE_IN_2_36
 void          g_task_set_task_data         (GTask               *task,