aboutsummaryrefslogtreecommitdiff
path: root/test/indicator-messages-service-activate.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/indicator-messages-service-activate.c')
-rw-r--r--test/indicator-messages-service-activate.c2
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;