mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-11-06 00:35:38 +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:
1 parent
482efae89a
commit
c144d0468b
6 files changed
+150
-93
No files matched your search
@@ -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