mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-12-04 20:07:36 +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:
parent
f3956b5186
commit
7aa3d163b5
2 changed files with 1 additions and 3 deletions
|
@ -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),
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue