Edit

IABSD.fr/ports/x11/elementary/code/patches

Branch :

  • Show log

    Commit

  • Author : naddy
    Date : 2022-03-11 20:15:18
    Hash : 21f1bb8a
    Message : drop RCS Ids

  • patch-plugins_outline_Vala_ValaSymbolOutline_vala
  • https://github.com/elementary/code/pull/901
    
    Index: plugins/outline/Vala/ValaSymbolOutline.vala
    --- plugins/outline/Vala/ValaSymbolOutline.vala.orig
    +++ plugins/outline/Vala/ValaSymbolOutline.vala
    @@ -61,7 +61,11 @@ public class Code.Plugins.ValaSymbolOutline : Object, 
     
         public void parse_symbols () {
             var context = new Vala.CodeContext ();
    -        context.profile = Vala.Profile.GOBJECT;
    +#if VALA_0_50
    +         context.set_target_profile (Vala.Profile.GOBJECT, false);
    +#else
    +         context.profile = Vala.Profile.GOBJECT;
    +#endif
             context.add_source_filename (doc.file.get_path ());
             context.report = new Report ();
             if (cancellable != null)