diff options
author | Jeffrey Stedfast <fejj@gnome.org> | 2013-08-02 01:51:51 +0400 |
---|---|---|
committer | Jeffrey Stedfast <fejj@gnome.org> | 2013-08-02 01:51:51 +0400 |
commit | f57c7fb64309e90015f685134313323a00d02260 (patch) | |
tree | d235b238982f5ae7e215a945605f619b204ea40c /main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.Visualizer | |
parent | 90998edbe36454f626fad60a58a49a9eef9ade5a (diff) |
[Debugger] fixed some long-standing compiler warnings
Diffstat (limited to 'main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.Visualizer')
-rw-r--r-- | main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.Visualizer/TextVisualizer.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.Visualizer/TextVisualizer.cs b/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.Visualizer/TextVisualizer.cs index 4439f34320..ba0efa1560 100644 --- a/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.Visualizer/TextVisualizer.cs +++ b/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.Visualizer/TextVisualizer.cs @@ -75,11 +75,11 @@ namespace MonoDevelop.Debugger.Visualizer return false; } - public Gtk.Widget GetVisualizerWidget (ObjectValue val) + public Widget GetVisualizerWidget (ObjectValue val) { VBox box = new VBox (false, 6); textView = new TextView () { WrapMode = WrapMode.Char }; - Gtk.ScrolledWindow scrolled = new Gtk.ScrolledWindow (); + ScrolledWindow scrolled = new ScrolledWindow (); scrolled.HscrollbarPolicy = PolicyType.Automatic; scrolled.VscrollbarPolicy = PolicyType.Automatic; scrolled.ShadowType = ShadowType.In; @@ -99,12 +99,12 @@ namespace MonoDevelop.Debugger.Visualizer EvaluationOptions ops = DebuggingService.DebuggerSession.EvaluationOptions.Clone (); ops.ChunkRawStrings = true; - this.raw = val.GetRawValue (ops) as RawValueString; - this.length = raw.Length; - this.offset = 0; + raw = val.GetRawValue (ops) as RawValueString; + length = raw.Length; this.val = val; + offset = 0; - if (this.length > 0) { + if (length > 0) { idle_id = GLib.Idle.Add (GetNextStringChunk); textView.Destroyed += delegate { if (idle_id != 0) { |