[latexila] Structure: remove hack due to old Vala bug
- From: SÃbastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [latexila] Structure: remove hack due to old Vala bug
- Date: Fri, 8 Jun 2012 21:32:09 +0000 (UTC)
commit a9527968f33aa1026c6859680fe593185f772a06
Author: SÃbastien Wilmet <swilmet src gnome org>
Date: Fri Jun 8 23:31:37 2012 +0200
Structure: remove hack due to old Vala bug
src/document_structure.vala | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/src/document_structure.vala b/src/document_structure.vala
index fa9d9bc..3b38f96 100644
--- a/src/document_structure.vala
+++ b/src/document_structure.vala
@@ -1077,12 +1077,7 @@ public class DocumentStructure : GLib.Object
return false;
StructType? markup_type = get_markup_type (markup_name);
- if (markup_type == null)
- return false;
-
- // HACK see https://bugzilla.gnome.org/show_bug.cgi?id=652781
- StructType markup_type_hack = markup_type;
- if ((int) type != (int) markup_type_hack)
+ if (markup_type == null || type != markup_type)
return false;
/* Get the new markup name */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]