diff options
Diffstat (limited to 'test/indicator-messages-service-activate.c')
-rw-r--r-- | test/indicator-messages-service-activate.c | 4 |
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; |