adw support for rendering previews (limited) but it doesnt crash now
authorAlan Knowles <alan@roojs.com>
Sat, 3 Feb 2024 12:05:27 +0000 (20:05 +0800)
committerAlan Knowles <alan@roojs.com>
Sat, 3 Feb 2024 12:05:27 +0000 (20:05 +0800)
debian/changelog
src/JsRender/NodeToGlade.vala
src/Main.vala

index 9245b1c..80db4bd 100644 (file)
@@ -17,6 +17,7 @@ roobuilder (5.0.2) UNRELEASED; urgency=medium
   * undo and redo buttons - now work
   * improved performance on node generation, and language server call performance (less uneccessary calls)
   * use find path for searching for vala-language-server (and add it as a dependancy!)
+  * support for Adw in rendering of previews (limited though)
   
  -- Alan Knowles <alan@touchbox>  Sun, 28 Jan 2024 06:54:56 +0800
 
index d796ce7..d953413 100644 (file)
@@ -103,6 +103,7 @@ public class JsRender.NodeToGlade : Object {
                switch(this.node.NS) {
                        case "Gtk":
                        case "Webkit": //??
+                       case "Adw": // works if you call adw.init() in main!
                                break;
                        default:
                                return doc;
index a906fcd..0efdc05 100644 (file)
@@ -15,7 +15,7 @@ int main (string[] args) {
          
     Gtk.init ();
     GtkSource.init();
+       Adw.init();
        
        // not sure why this was done?? - it caused crash bugs on gtk_Box_gadget so removed critical.
        // GLib.Log.set_always_fatal(LogLevelFlags.LEVEL_ERROR | LogLevelFlags.LEVEL_CRITICAL);