diff --git a/lib/matplotlib/backends/backend_gtk4.py b/lib/matplotlib/backends/backend_gtk4.py index 0babb1ff4974..3ffff77792db 100644 --- a/lib/matplotlib/backends/backend_gtk4.py +++ b/lib/matplotlib/backends/backend_gtk4.py @@ -658,14 +658,6 @@ def trigger(self, *args, **kwargs): clipboard.set(pb) -# Define the file to use as the GTk icon -if sys.platform == 'win32': - icon_filename = 'matplotlib.png' -else: - icon_filename = 'matplotlib.svg' -window_icon = str(cbook._get_data_path('images', icon_filename)) - - backend_tools.ToolSaveFigure = SaveFigureGTK4 backend_tools.ToolConfigureSubplots = ConfigureSubplotsGTK4 backend_tools.ToolRubberband = RubberbandGTK4