Fix some warning from some glib-thing.
This commit is contained in:
parent
18d50199ee
commit
dee25535e7
@ -30,6 +30,8 @@ class DesktopNotification(BaseDesktopNotification):
|
|||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
import gi
|
||||||
|
gi.require_version('Notify', '0.7')
|
||||||
from gi.repository import Notify
|
from gi.repository import Notify
|
||||||
except ImportError:
|
except ImportError:
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user