* mark mu_msg_str_summarize with G_GNUC_WARN_UNUSED_RESULT

This commit is contained in:
Dirk-Jan C. Binnema
2010-09-12 16:32:22 +03:00
parent 5e50ed5dba
commit 1daf46f4ab

View File

@ -101,6 +101,7 @@ const char* mu_msg_str_prio (MuMsgPrio prio) G_GNUC_CONST;
*
* @return a newly allocated string with the summary. use g_free to free it.
*/
char* mu_msg_str_summarize (const char* str, size_t max_lines);
char* mu_msg_str_summarize (const char* str,
size_t max_lines) G_GNUC_WARN_UNUSED_RESULT;
#endif /*__MU_MSG_STR_H__*/