diff --git a/src/message-context.h b/src/message-context.h
index 241b386604fc007d6c868d97dd2ee36666a8d060..145a73ee553c10d0de0a06f77e81db2d5e1ed12e 100644 (file)
--- a/src/message-context.h
+++ b/src/message-context.h
/** \file
- * A convenience class for working with MessageStacks.
+ * Interface for locally managing a current status message
*/
/*
#define SEEN_INKSCAPE_MESSAGE_CONTEXT_H
#include <stdarg.h>
-#include <glib/gtypes.h>
+#include <glib.h>
#include "message.h"
namespace Inkscape {
* @param type the message type
* @param format a printf-style formatting string
*/
- void setF(MessageType type, gchar const *format, ...);
+ void setF(MessageType type, gchar const *format, ...) G_GNUC_PRINTF(3,4);
/** @brief pushes a message on the stack using printf-style formatting,
* and a stdarg argument list
* @param type the message type
* @param format a printf-style formatting string
*/
- void flashF(MessageType type, gchar const *format, ...);
+ void flashF(MessageType type, gchar const *format, ...) G_GNUC_PRINTF(3,4);
/** @brief pushes a message onto the stack for a brief period of time
* using printf-style formatting and a stdarg argument list;