diff --git a/gajim/gtk/conversation/quote_widget.py b/gajim/gtk/conversation/quote_widget.py
index a6542cbabd43748367e5987c1b7cc4b92241481e..47cf68941ebfef10cdcd51fa34a3ba64e4858c94 100644
--- a/gajim/gtk/conversation/quote_widget.py
+++ b/gajim/gtk/conversation/quote_widget.py
@@ -23,7 +23,7 @@ def __init__(self, account):
         self.get_style_context().add_class('conversation-quote')
         quote_bar = Gtk.Box()
         quote_bar.set_size_request(3, -1)
-        quote_bar.set_margin_right(6)
+        quote_bar.set_margin_end(6)
         quote_bar.get_style_context().add_class('conversation-quote-bar')
         self.add(quote_bar)