mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-16 02:30:19 +00:00
Remove libnotify dependency
Instead just talk directly to the service. This fixes *sending* a notification being blocking IO.
This commit is contained in:
@@ -43,11 +43,7 @@ hexchat_gtk_cflags = []
|
||||
|
||||
hexchat_gtk_ldflags = []
|
||||
|
||||
if libnotify_dep.found()
|
||||
hexchat_gtk_sources += 'notifications/notification-libnotify.c'
|
||||
hexchat_gtk_deps += libnotify_dep
|
||||
elif false # TODO HAVE_GTK_MAC
|
||||
elif host_machine.system() == 'windows'
|
||||
if host_machine.system() == 'windows'
|
||||
hexchat_gtk_sources += 'notifications/notification-windows.c'
|
||||
|
||||
# TODO: mingw doesn't have these headers or libs
|
||||
@@ -57,7 +53,7 @@ elif host_machine.system() == 'windows'
|
||||
#)
|
||||
|
||||
else
|
||||
hexchat_gtk_sources += 'notifications/notification-dummy.c'
|
||||
hexchat_gtk_sources += 'notifications/notification-freedesktop.c'
|
||||
endif
|
||||
|
||||
iso_codes = dependency('iso-codes', required: false)
|
||||
|
||||
Reference in New Issue
Block a user