Skip to content
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.

Commit

Permalink
fixed running programs by removing environment variables
Browse files Browse the repository at this point in the history
FossilOrigin-Name: 63623adc6c2433988209e72ba6333e72c30594aee40a2cc6bdcc12ab1ce552ce
  • Loading branch information
thindil committed Apr 12, 2019
1 parent e07a1ee commit 9994905
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/hunter.adb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
-- along with this program. If not, see <http://www.gnu.org/licenses/>.

with Ada.Text_IO; use Ada.Text_IO;
with Ada.Environment_Variables;
with Ada.Environment_Variables; use Ada.Environment_Variables;
with Gtk.Main; use Gtk.Main;
with Gtkada.Builder; use Gtkada.Builder;
with Gtkada.Bindings; use Gtkada.Bindings;
Expand All @@ -41,6 +41,10 @@ begin
end if;
CreateErrorDialog(Builder);
CreateMainWindow(Builder);
Clear("LD_LIBRARY_PATH");
Clear("GDK_PIXBUF_MODULE_FILE");
Clear("GDK_PIXBUF_MODULEDIR");
Clear("FONTCONFIG_FILE");
Main;
exception
when An_Exception : others =>
Expand Down

0 comments on commit 9994905

Please sign in to comment.