Kaydet (Commit) 20df29e6 authored tarafından Miklos Vajna's avatar Miklos Vajna

gtktiledviewer: these globals can be static

Change-Id: Ife0a4bb1102f6135e297dc69ba5b52b89a5dd9dd
üst d990a876
...@@ -38,17 +38,17 @@ static GtkToolItem* pItalic; ...@@ -38,17 +38,17 @@ static GtkToolItem* pItalic;
static GtkToolItem* pUnderline; static GtkToolItem* pUnderline;
static GtkToolItem* pStrikethrough; static GtkToolItem* pStrikethrough;
static GtkWidget* pScrolledWindow; static GtkWidget* pScrolledWindow;
std::map<GtkToolItem*, std::string> g_aToolItemCommandNames; static std::map<GtkToolItem*, std::string> g_aToolItemCommandNames;
std::map<std::string, GtkToolItem*> g_aCommandNameToolItems; static std::map<std::string, GtkToolItem*> g_aCommandNameToolItems;
bool g_bToolItemBroadcast = true; static bool g_bToolItemBroadcast = true;
static GtkWidget* pVBox; static GtkWidget* pVBox;
static GtkComboBoxText* pPartSelector; static GtkComboBoxText* pPartSelector;
static GtkWidget* pPartModeComboBox; static GtkWidget* pPartModeComboBox;
/// Should the part selector avoid calling lok::Document::setPart()? /// Should the part selector avoid calling lok::Document::setPart()?
static bool g_bPartSelectorBroadcast = true; static bool g_bPartSelectorBroadcast = true;
GtkWidget* pFindbar; static GtkWidget* pFindbar;
GtkWidget* pFindbarEntry; static GtkWidget* pFindbarEntry;
GtkWidget* pFindbarLabel; static GtkWidget* pFindbarLabel;
static void lcl_registerToolItem(GtkToolItem* pItem, const std::string& rName) static void lcl_registerToolItem(GtkToolItem* pItem, const std::string& rName)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment