Skip to content

Commit

Permalink
Application: Fix redundant load of icon (#265)
Browse files Browse the repository at this point in the history
From https://docs.gtk.org/gtk4/class.Application.html

> GtkApplication will also automatically setup an icon search path for the default icon theme by appending “icons” to the resource base path.
  • Loading branch information
ryonakano authored Apr 13, 2024
1 parent 28f557a commit dbb3ca4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Application.vala
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,6 @@ public class Application : Gtk.Application {
cssprovider,
Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION);

// Load GResource for our custom icons
var icon_theme = Gtk.IconTheme.get_for_display (display);
icon_theme.add_resource_path ("/com/github/ryonakano/reco");

setup_style ();

add_action_entries (ACTION_ENTRIES, this);
Expand Down

0 comments on commit dbb3ca4

Please sign in to comment.