[Xfce4-commits] [apps/xfce4-panel-profiles] 115/162: Add gi.require_version('Gtk', '3.0') to silence warning

noreply at xfce.org noreply at xfce.org
Fri Jul 13 13:10:14 CEST 2018


This is an automated email from the git hooks/post-receive script.

o   c   h   o   s   i       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-panel-profiles.

commit 17584b891c28ec65ca098c9c991ff3137539751e
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Sun Mar 25 22:53:53 2018 -0400

    Add gi.require_version('Gtk', '3.0') to silence warning
---
 xfpanel-switch/xfpanel-switch.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/xfpanel-switch/xfpanel-switch.py b/xfpanel-switch/xfpanel-switch.py
index 0c87819..bcf3981 100644
--- a/xfpanel-switch/xfpanel-switch.py
+++ b/xfpanel-switch/xfpanel-switch.py
@@ -25,6 +25,10 @@ from gettext import ngettext
 import shlex
 import os
 import datetime
+
+import gi
+gi.require_version('Gtk', '3.0')
+
 from gi.repository import Gtk, GLib, Gio
 
 from panelconfig import PanelConfig

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list