cleanup: Do not use GLIB_CHECK_VERSION

It's not supported by GLib 2.26.0, the minimum version we required
This commit is contained in:
Marco Trevisan (Treviño) 2022-04-27 20:18:48 +02:00
parent 59553a5af2
commit 6e871a4047
4 changed files with 4 additions and 4 deletions

View File

@ -161,7 +161,7 @@ notify_init (const char *app_name)
notify_set_app_name (app_name);
#if !GLIB_CHECK_VERSION (2, 36, 0)
#ifndef GLIB_VERSION_2_36
g_type_init ();
#endif

View File

@ -29,7 +29,7 @@ main ()
{
NotifyNotification *n;
#if !GLIB_CHECK_VERSION (2, 36, 0)
#ifndef GLIB_VERSION_2_36
g_type_init ();
#endif

View File

@ -28,7 +28,7 @@ main ()
GError *error;
error = NULL;
#if !GLIB_CHECK_VERSION (2, 36, 0)
#ifndef GLIB_VERSION_2_36
g_type_init ();
#endif

View File

@ -225,7 +225,7 @@ main (int argc, char *argv[])
setlocale (LC_ALL, "");
#if !GLIB_CHECK_VERSION (2, 36, 0)
#ifndef GLIB_VERSION_2_36
g_type_init ();
#endif