Gtk.IconTheme.prototype.rescan_if_needed

function rescan_if_needed():Boolean {
    // Gjs wrapper for gtk_icon_theme_rescan_if_needed()
}

Checks to see if the icon theme has changed; if it has, any currently cached information is discarded and will be reloaded next time icon_theme is accessed.

Since 2.4

Returns

true if the icon theme has changed and needed to be reloaded.