diff --git a/meson.build b/meson.build index 8961a1a..7b5f8fd 100644 --- a/meson.build +++ b/meson.build @@ -124,7 +124,7 @@ test_c_args = [ '-Wtype-limits', '-Wunused-function', '-Wunused-variable', - '-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64', + '-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_70', '-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_70', '-DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_@0@_@1@'.format(gtk_major, gtk_minor), '-DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_@0@_@1@'.format(gtk_major, gtk_minor), diff --git a/src/calls-notifier.c b/src/calls-notifier.c index c691168..960b8a1 100644 --- a/src/calls-notifier.c +++ b/src/calls-notifier.c @@ -59,9 +59,7 @@ notify (CallsNotifier *self, CuiCall *call) gboolean got_id; gboolean got_contact; -#if GLIB_CHECK_VERSION (2,70,0) g_notification_set_category (notification, "x-gnome.call.unanswered"); -#endif /* TODO: We need to update the notification when the contact name changes We would need to resend the notification in this case, as changing the properties after having called g_application_send_notification() will have no effect.