! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
g_object_unref warning
Status:
RESOLVED: FIXED
Product:
Xfce4-mixer
Component:
Panel Plugin

Comments

Description Jani Monoses 2006-01-12 11:14:18 CET
Patch for mixer plugin so it does not complain on floating object was finalized
when the panel is restarted. Other plugins do it like this for the tooltip.



Index: panel-plugin/plugin.c
===================================================================
--- panel-plugin/plugin.c       (revision 19404)
+++ panel-plugin/plugin.c       (working copy)
@@ -207,6 +207,8 @@

     icontheme = xfce_icon_theme_get_for_screen (gtk_widget_get_screen
(GTK_WIDGET (plugin)));
     tooltips = gtk_tooltips_new ();
+    g_object_ref (G_OBJECT (tooltips));
+    gtk_object_sink (GTK_OBJECT (tooltips));

     xfce_textdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR, "UTF-8");



Reproducible: Always
Steps to Reproduce:
1. 
2. 
3.
Comment 1 dannym editbugs 2006-01-12 22:09:50 CET
yes, thank you :)

Bug #1324

Reported by:
Jani Monoses
Reported on: 2006-01-12
Last modified on: 2009-07-14

People

CC List:
0 users

Version

Attachments

Additional information