[gedit-code-assistance] diagnostic-message: remove useless code
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-code-assistance] diagnostic-message: remove useless code
- Date: Sat, 14 Mar 2015 16:55:36 +0000 (UTC)
commit e61ca835edf81026fed520b8906dee8e530415bf
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Sat Mar 14 17:54:09 2015 +0100
diagnostic-message: remove useless code
src/gca-diagnostic-message.vala | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/src/gca-diagnostic-message.vala b/src/gca-diagnostic-message.vala
index 89e9d3f..0906683 100644
--- a/src/gca-diagnostic-message.vala
+++ b/src/gca-diagnostic-message.vala
@@ -112,14 +112,6 @@ class DiagnosticMessage : EventBox
d_vbox = new Box(Orientation.VERTICAL, 1);
d_vbox.show();
- var ctx = d_view.get_style_context();
- ctx.save();
-
- ctx.add_class(STYLE_CLASS_VIEW);
- //var color = ctx.get_color(StateFlags.NORMAL);
-
- ctx.restore();
-
bool ismixed = mixed_severity;
foreach (Diagnostic d in d_diagnostics)
@@ -141,8 +133,6 @@ class DiagnosticMessage : EventBox
label.show();
- //label.override_color(StateFlags.NORMAL, color);
-
label.halign = Align.START;
label.valign = Align.CENTER;
label.wrap = true;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]