After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 744150 - lots of warnings when connected to VPN and when in VPN menu
lots of warnings when connected to VPN and when in VPN menu
Status: RESOLVED FIXED
Product: NetworkManager
Classification: Platform
Component: nm-applet
git master
Other Linux
: Normal normal
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks: nm-1-2
 
 
Reported: 2015-02-07 21:35 UTC by Pavel Simerda
Modified: 2016-02-21 14:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pavel Simerda 2015-02-07 21:35:16 UTC
When working on bug #740574, I found out a bug that turned out to be present even without applying my patchset.

(nm-applet:20586): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion 'G_IS_LOADABLE_ICON (icon)' failed
(nm-applet:20586): Gtk-WARNING **: Error loading theme icon 'gtk-connect' for stock: Failed to load icon
(nm-applet:20586): Gtk-CRITICAL **: render_fallback_image: assertion 'pixbuf != NULL' failed
(nm-applet:20586): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
(nm-applet:20586): Gdk-CRITICAL **: gdk_cairo_surface_create_from_pixbuf: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
(nm-applet:20586): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(nm-applet:20586): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion 'G_IS_LOADABLE_ICON (icon)' failed
(nm-applet:20586): Gtk-WARNING **: Error loading theme icon 'gtk-connect' for stock: Failed to load icon
(nm-applet:20586): Gtk-CRITICAL **: render_fallback_image: assertion 'pixbuf != NULL' failed

I found the exact lines of code that, when removed, also remove the warning.

if (active) {
    image = gtk_image_new_from_stock (GTK_STOCK_CONNECT, GTK_ICON_SIZE_MENU);
    gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), image);
}
Comment 1 Lubomir Rintel 2016-02-21 14:58:30 UTC
This was presumably fixed in 5455c67d58820b1050fff5dc31e5bbf89c92d769

This problem has been fixed in the unstable development version. The fix will be available in the next major software release. You may need to upgrade your Linux distribution to obtain that newer version.