invalid cast from `GtkStatusIcon' to `GtkWidget'

Bug #530429 reported by jimav
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-bluetooth (Ubuntu)
Invalid
Low
Unassigned
indicator-application (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: gnome-bluetooth

$HOME/.xsession-errors contains the following immediately after login:

(bluetooth-applet:1463): GLib-GObject-WARNING **: invalid cast from `GtkStatusIcon' to `GtkWidget'

(bluetooth-applet:1463): Gtk-CRITICAL **: gtk_widget_hide: assertion `GTK_IS_WIDGET (widget)' failed

ProblemType: Bug
Architecture: amd64
Date: Mon Mar 1 17:45:33 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/bin/bluetooth-applet
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100224.1)
Package: gnome-bluetooth 2.29.91-0ubuntu3
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-14.20-generic
SourcePackage: gnome-bluetooth
Uname: Linux 2.6.32-14-generic x86_64
XsessionErrors:
 (polkit-gnome-authentication-agent-1:1473): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (bluetooth-applet:1463): Gtk-CRITICAL **: gtk_widget_hide: assertion `GTK_IS_WIDGET (widget)' failed
 (gnome-power-manager:1467): Gtk-CRITICAL **: gtk_widget_hide: assertion `GTK_IS_WIDGET (widget)' failed
 (gnome-terminal:1621): Gtk-CRITICAL **: gtk_accel_map_unlock_path: assertion `entry != NULL && entry->lock_count > 0' failed

Revision history for this message
jimav (james-avera) wrote :
Revision history for this message
Baptiste Mille-Mathias (bmillemathias) wrote :

I wonder if it could be because of indicator-applet because there are also the same error for gnome-power-manager in the bug report.

Revision history for this message
Sebastien Bacher (seb128) wrote :

The bug is fixed in the current version, indicator-application r97

"Use gtk_status_icon_set_visible to hide the status icon. GtkStatusIcon is not derived from GtkWidget, so gtk_widget_hide doesn't work"

affects: indicator-applet (Ubuntu) → indicator-application (Ubuntu)
Changed in indicator-application (Ubuntu):
importance: Undecided → Low
status: New → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

the bug was not a gnome-bluetooth one

Changed in gnome-bluetooth (Ubuntu):
importance: Undecided → Low
status: New → Invalid
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.