diff options
author | Sergio Schvezov <sergio.schvezov@canonical.com> | 2013-03-22 16:54:38 -0300 |
---|---|---|
committer | Sergio Schvezov <sergio.schvezov@canonical.com> | 2013-03-22 16:54:38 -0300 |
commit | 5e3abf725e0628673c1bb16869edc67dfa7e2729 (patch) | |
tree | 5d6bd2d445d4280280f8f1a24d805c3ed412105f /test/indicator-messages-service-activate.c | |
parent | 8fd0c5cf4246c6788024212d794a3f3f8741d2ed (diff) | |
download | ayatana-indicator-messages-5e3abf725e0628673c1bb16869edc67dfa7e2729.tar.gz ayatana-indicator-messages-5e3abf725e0628673c1bb16869edc67dfa7e2729.tar.bz2 ayatana-indicator-messages-5e3abf725e0628673c1bb16869edc67dfa7e2729.zip |
Adding glib version guard to g_type_init
Diffstat (limited to 'test/indicator-messages-service-activate.c')
-rw-r--r-- | test/indicator-messages-service-activate.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/indicator-messages-service-activate.c b/test/indicator-messages-service-activate.c index 98c6522..f5a26b0 100644 --- a/test/indicator-messages-service-activate.c +++ b/test/indicator-messages-service-activate.c @@ -28,7 +28,9 @@ with this program. If not, see <http://www.gnu.org/licenses/>. int main (int argc, char ** argv) { +#if G_ENCODE_VERSION(GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION) <= GLIB_VERSION_2_34 g_type_init(); +#endif guint returnval = 0; GError * error = NULL; |