GDateTime: G_GNUC_WARN_UNUSED_RESULT for modifiers
authorRyan Lortie <desrt@desrt.ca>
Sat, 18 Sep 2010 20:31:00 +0000 (16:31 -0400)
committerRyan Lortie <desrt@desrt.ca>
Sat, 18 Sep 2010 20:31:00 +0000 (16:31 -0400)
commitcec629972b2a599cb28eb9d61cc000c4dc97f534
treefb3342bc34e6bef93f11fac9691fcedc8144beaf
parentac05f990db211a27a950d61ef4bf47335ced7cc4
GDateTime: G_GNUC_WARN_UNUSED_RESULT for modifiers

Emmanuele suggested adding G_GNUC_WARN_UNUSED_RESULT to all of the
g_date_time_add_* functions to help deal with the situation where people
may mistakenly believe that these functions are inplace modifiers.
glib/gdatetime.h