Suppress GObject console warning on type of Log object

Bug #698731 reported by Gareth Edwards
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gEDA
Fix Released
Low
Peter TB Brett

Bug Description

Running gschem gives a warning:

    (gschem:62319): GLib-GObject-WARNING **: g_object_set_valist: construct
    property "type" for object `Log' can't be set after construction

This patch removes the attempt to set the CONSTRUCT-ONLY GtkWindow property
"type" from the g_object_set call in the Log instance initializer and moves
 it into the g_object_new call when the Log instance is created.

Revision history for this message
Gareth Edwards (gareth-uk) wrote :
Revision history for this message
Peter TB Brett (peter-b) wrote :

The commit message for this patch is misleading. It should be "Don't attempt to set construct-only properties," or something like that. I'll fix it, but please make sure your commit messages describe the disease rather than the symptoms next time!

Peter TB Brett (peter-b)
Changed in geda:
status: Fix Released → Fix Committed
importance: Undecided → Low
assignee: nobody → Peter TB Brett (peter-b)
milestone: none → 1.7.0
Peter TB Brett (peter-b)
Changed in geda:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.