From 172dffec55916f617c76e8ce0e1ed9932425d244 Mon Sep 17 00:00:00 2001 From: Matthew Budd Date: Fri, 15 May 2020 17:08:13 -0400 Subject: [PATCH] Changed window size variables in gui to be static as their is no reason to export them to the linker. --- src/drivers/sdl/gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drivers/sdl/gui.cpp b/src/drivers/sdl/gui.cpp index 51f6d88f..46c0b603 100644 --- a/src/drivers/sdl/gui.cpp +++ b/src/drivers/sdl/gui.cpp @@ -64,10 +64,10 @@ GtkRadioAction *stateSlot = NULL; bool gtkIsStarted = false; bool menuTogglingEnabled = false; -unsigned int gtk_win_width = NES_WIDTH; -unsigned int gtk_win_height = NES_HEIGHT; unsigned int gtk_draw_area_width = NES_WIDTH; unsigned int gtk_draw_area_height = NES_HEIGHT; +static unsigned int gtk_win_width = NES_WIDTH; +static unsigned int gtk_win_height = NES_HEIGHT; static GtkTreeStore *hotkey_store = NULL; // check to see if a particular GTK version is available