I wonder if the implementation of the libraries or settings package is not well 
defined.
I used: 
sudo dnf groupinstall "Development Tools" "Development Libraries"
I got this error after watching a video tutorial about Vala and GTK+ on ubuntu 
where this error does not appear.
This is error:
[catafest@localhost ~]$ valac test.vala  --pkg gtk+-3.0
[catafest@localhost ~]$ ./test

(test:11980): GLib-GObject-CRITICAL **: 15:53:25.638: g_value_set_boxed: 
assertion 'G_VALUE_HOLDS_BOXED (value)' failed
[catafest@localhost ~]$ 

I used this source code:

  GNU nano 6.4                                                      test.vala   
                                                              
using Gtk;
namespace Test {
int  main(string[] args) {
        Gtk.init(ref args);
        //      #define G_VALUE_HOLDS_BOXED 1;
        //Value g_value_set_boxed = Value (0);
        var window = new Gtk.Window();
        //window.title = "This is a Vala test";
        window.set_title("This is a new title");
        window.border_width = 10;
        window.window_position = Gtk.WindowPosition.CENTER;
        window.set_default_size(350,80);
        window.destroy.connect(Gtk.main_quit);
        window.show_all();
        Gtk.main();
        return 0;
}
}

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to