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);
|
notify_set_app_name (app_name);
|
||||||
|
|
||||||
#if !GLIB_CHECK_VERSION (2, 36, 0)
|
#ifndef GLIB_VERSION_2_36
|
||||||
g_type_init ();
|
g_type_init ();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ main ()
|
||||||
{
|
{
|
||||||
NotifyNotification *n;
|
NotifyNotification *n;
|
||||||
|
|
||||||
#if !GLIB_CHECK_VERSION (2, 36, 0)
|
#ifndef GLIB_VERSION_2_36
|
||||||
g_type_init ();
|
g_type_init ();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ main ()
|
||||||
GError *error;
|
GError *error;
|
||||||
error = NULL;
|
error = NULL;
|
||||||
|
|
||||||
#if !GLIB_CHECK_VERSION (2, 36, 0)
|
#ifndef GLIB_VERSION_2_36
|
||||||
g_type_init ();
|
g_type_init ();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -225,7 +225,7 @@ main (int argc, char *argv[])
|
||||||
|
|
||||||
setlocale (LC_ALL, "");
|
setlocale (LC_ALL, "");
|
||||||
|
|
||||||
#if !GLIB_CHECK_VERSION (2, 36, 0)
|
#ifndef GLIB_VERSION_2_36
|
||||||
g_type_init ();
|
g_type_init ();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue