aboutsummaryrefslogtreecommitdiff
path: root/test/indicator-messages-service-activate.c
diff options
context:
space:
mode:
authorPete Woods <pete.woods@canonical.com>2013-08-20 11:38:10 +0100
committerPete Woods <pete.woods@canonical.com>2013-08-20 11:38:10 +0100
commit79c89af3ac3c0c04f947c98b360a3ccaccbfc5dc (patch)
treecfc0e002b44a53eba419ad3f80b72201dde58bba /test/indicator-messages-service-activate.c
parent94fef3bf0ca765544ef93f4a6cd38684b3ccf02e (diff)
downloadayatana-indicator-messages-79c89af3ac3c0c04f947c98b360a3ccaccbfc5dc.tar.gz
ayatana-indicator-messages-79c89af3ac3c0c04f947c98b360a3ccaccbfc5dc.tar.bz2
ayatana-indicator-messages-79c89af3ac3c0c04f947c98b360a3ccaccbfc5dc.zip
Re-do merge
Diffstat (limited to 'test/indicator-messages-service-activate.c')
-rw-r--r--test/indicator-messages-service-activate.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/indicator-messages-service-activate.c b/test/indicator-messages-service-activate.c
index b0ec9b7..f5a26b0 100644
--- a/test/indicator-messages-service-activate.c
+++ b/test/indicator-messages-service-activate.c
@@ -28,6 +28,10 @@ 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;