summaryrefslogtreecommitdiff
path: root/unity-shared
diff options
authorBrandon Schaefer <brandontschaefer@gmail.com>2014-04-22 15:29:14 -0700
committerBrandon Schaefer <brandontschaefer@gmail.com>2014-04-22 15:29:14 -0700
commit36848d326d8e7348b8e57456a9665adec9c8900f (patch)
tree625cd08211b68a79714a6b7fae7f3585963a662a /unity-shared
parent7781a240c10e70925c9d5fdb523436ba6c881c17 (diff)
* Remove spin_icon_width
(bzr r3781.6.6)
Diffstat (limited to 'unity-shared')
-rw-r--r--unity-shared/TextInput.cpp4
-rw-r--r--unity-shared/TextInput.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/unity-shared/TextInput.cpp b/unity-shared/TextInput.cpp
index eba7e96c3..63562dc5b 100644
--- a/unity-shared/TextInput.cpp
+++ b/unity-shared/TextInput.cpp
@@ -158,10 +158,6 @@ TextInput::TextInput(NUX_FILE_LINE_DECL)
im_preedit.SetGetterFunction(sigc::mem_fun(this, &TextInput::get_im_preedit));
input_hint.changed.connect([this](std::string const& s) { OnInputHintChanged(); });
- // When we get to HiDPI changes here, we will need to update this width
- dash::Style& style = dash::Style::Instance();
- spin_icon_width_ = style.GetSearchSpinIcon()->GetWidth();
-
warning_->mouse_enter.connect([this] (int x, int y, int button, int key_flags) {
mouse_over_warning_icon_ = true;
QueueDraw();
diff --git a/unity-shared/TextInput.h b/unity-shared/TextInput.h
index fb65ca0bc..ba002d122 100644
--- a/unity-shared/TextInput.h
+++ b/unity-shared/TextInput.h
@@ -123,7 +123,6 @@ private:
nux::Property<bool> caps_lock_on;
int last_width_;
int last_height_;
- int spin_icon_width_;
bool mouse_over_warning_icon_;
glib::SignalManager sig_manager_;