1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-10-22 12:45:23 +00:00

build: Bump minimum glib version

Glib 2.74 is even in Debian stable

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/743>
This commit is contained in:
Guido Günther 2024-06-13 17:39:31 +02:00 committed by Marge Bot
parent f3956b5186
commit 7aa3d163b5
2 changed files with 1 additions and 3 deletions

View file

@ -124,7 +124,7 @@ test_c_args = [
'-Wtype-limits', '-Wtype-limits',
'-Wunused-function', '-Wunused-function',
'-Wunused-variable', '-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', '-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_70',
'-DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_@0@_@1@'.format(gtk_major, gtk_minor), '-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), '-DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_@0@_@1@'.format(gtk_major, gtk_minor),

View file

@ -59,9 +59,7 @@ notify (CallsNotifier *self, CuiCall *call)
gboolean got_id; gboolean got_id;
gboolean got_contact; gboolean got_contact;
#if GLIB_CHECK_VERSION (2,70,0)
g_notification_set_category (notification, "x-gnome.call.unanswered"); g_notification_set_category (notification, "x-gnome.call.unanswered");
#endif
/* TODO: We need to update the notification when the contact name changes /* 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 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. after having called g_application_send_notification() will have no effect.