diff options
author | Philipp Hörist <philipp@hoerist.com> | 2022-10-02 18:08:30 +0300 |
---|---|---|
committer | Philipp Hörist <philipp@hoerist.com> | 2022-10-02 18:08:57 +0300 |
commit | 75bfb459a8ddfc5997199b76bd3f5b32b43ac075 (patch) | |
tree | b5fee6847b268ed4b8a02124bc685a794ba320ba | |
parent | e0fea792a652ce38c8b30fdcb7ff069f33896004 (diff) |
refactor: ChatListRow: Remove not needed code
row is self, there is no need to translate anything
-rw-r--r-- | gajim/gtk/chat_list_row.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gajim/gtk/chat_list_row.py b/gajim/gtk/chat_list_row.py index ec50efd63..43045fa72 100644 --- a/gajim/gtk/chat_list_row.py +++ b/gajim/gtk/chat_list_row.py @@ -278,11 +278,6 @@ class ChatListRow(Gtk.ListBoxRow): cairo.Format.ARGB32, alloc.width, alloc.height) context = cairo.Context(surface) self.draw(context) - coords = row.translate_coordinates(self, 0, 0) - if coords is None: - return - dest_x, dest_y = coords - surface.set_device_offset(-dest_x, -dest_y) Gtk.drag_set_icon_surface(drag_context, surface) def _on_drag_data_get(self, |