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:
parent
59553a5af2
commit
6e871a4047
|
@ -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
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ main ()
|
|||
{
|
||||
NotifyNotification *n;
|
||||
|
||||
#if !GLIB_CHECK_VERSION (2, 36, 0)
|
||||
#ifndef GLIB_VERSION_2_36
|
||||
g_type_init ();
|
||||
#endif
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue