Gtk-Message: GtkDialog mapped without a transient parent.

Bug #1642696 reported by Francis Chin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
psensor
Fix Committed
Undecided
Unassigned

Bug Description

When psensor is started from command line, the following warnings are printed to stderr whenever the application preferences or sensor preferences windows are opened:

Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.

I'll attach a patch to fix these by calling gtk_window_set_transient_for() to associate them with the main window.

Revision history for this message
Francis Chin (chinf) wrote :

Patch updated to cast the GtkDialog and GtkWidget pointers to the correct GtkWindow pointer types.

Revision history for this message
Jean-Philippe Orsini (jfi) wrote :

Hello Francis,

Thanks for the report and the patch.

It has been pushed in the master branch of psensor:

http://wpitchoune.net/gitweb/?p=psensor.git;a=commit;h=fd0242c4e19038c1eca927498c6c6d163b46c736

and will be available in the next release.

Changed in psensor:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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