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 155397 - Tooltips arent sunk at creation time
Tooltips arent sunk at creation time
Status: RESOLVED FIXED
Product: glade
Classification: Applications
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Glade 3 Maintainers
Glade 3 Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-10-14 15:00 UTC by Tristan Van Berkom
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tristan Van Berkom 2004-10-14 15:00:37 UTC
This is that nagging message that gets spewed onto the terminal
about 20 times every time the editor loads a new widget:

=====================================================================
(glade-3:23444): Gtk-WARNING **: A floating object was finalized. This
means that someone
called g_object_unref() on an object that had only a floating
reference; the initial floating reference is not owned by anyone
and must be removed with gtk_object_sink() after a normal
reference is obtained with g_object_ref().
=====================================================================

It is fixed in my tree simply by adding:
    g_object_ref(G_OBJECT(tooltips));
    gtk_object_sink(GTK_OBJECT(tooltips));
    
to the code in glade_util_widget_set_tooltip();
Comment 1 David Hoover 2004-10-22 19:46:23 UTC
This has been fixed with a patch from bug 154727
Comment 2 Tristan Van Berkom 2004-10-22 20:17:57 UTC
Adding fixed resolution, as a test of permissions.