summaryrefslogtreecommitdiff
path: root/libreofficekit
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-09-15 10:59:58 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-09-21 07:30:14 +0200
commit20df29e660139fc27d50fe006202f7ea78a3903a (patch)
tree497723a3e168c675083cb13884613ea448f5eb9b /libreofficekit
parentd990a8762e5e67747e169103bc8b9a40605afa81 (diff)
gtktiledviewer: these globals can be static
Change-Id: Ife0a4bb1102f6135e297dc69ba5b52b89a5dd9dd
Diffstat (limited to 'libreofficekit')
-rw-r--r--libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
index 6f10935d50f1..7637a68d18ee 100644
--- a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
+++ b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
@@ -38,17 +38,17 @@ static GtkToolItem* pItalic;
static GtkToolItem* pUnderline;
static GtkToolItem* pStrikethrough;
static GtkWidget* pScrolledWindow;
-std::map<GtkToolItem*, std::string> g_aToolItemCommandNames;
-std::map<std::string, GtkToolItem*> g_aCommandNameToolItems;
-bool g_bToolItemBroadcast = true;
+static std::map<GtkToolItem*, std::string> g_aToolItemCommandNames;
+static std::map<std::string, GtkToolItem*> g_aCommandNameToolItems;
+static bool g_bToolItemBroadcast = true;
static GtkWidget* pVBox;
static GtkComboBoxText* pPartSelector;
static GtkWidget* pPartModeComboBox;
/// Should the part selector avoid calling lok::Document::setPart()?
static bool g_bPartSelectorBroadcast = true;
-GtkWidget* pFindbar;
-GtkWidget* pFindbarEntry;
-GtkWidget* pFindbarLabel;
+static GtkWidget* pFindbar;
+static GtkWidget* pFindbarEntry;
+static GtkWidget* pFindbarLabel;
static void lcl_registerToolItem(GtkToolItem* pItem, const std::string& rName)
{