File brasero-remove-oldtooltips.patch of Package brasero
--- trunk/nautilus/nautilus-burn-bar.c 2008/11/05 12:58:21 1472
+++ trunk/nautilus/nautilus-burn-bar.c 2008/11/11 19:55:06 1517
@@ -35,7 +35,6 @@
struct NautilusBurnBarPrivate
{
- GtkTooltips *tooltips;
GtkWidget *button;
};
@@ -130,10 +129,6 @@
bar->priv = NAUTILUS_BURN_BAR_GET_PRIVATE (bar);
- bar->priv->tooltips = gtk_tooltips_new ();
- g_object_ref (bar->priv->tooltips);
- gtk_object_sink (GTK_OBJECT (bar->priv->tooltips));
-
hbox = GTK_WIDGET (bar);
label = gtk_label_new (_("CD/DVD Creator Folder"));
@@ -148,10 +143,8 @@
G_CALLBACK (button_clicked_cb),
bar);
- gtk_tooltips_set_tip (GTK_TOOLTIPS (bar->priv->tooltips),
- bar->priv->button,
- _("Write contents to a CD or DVD disc"),
- NULL);
+ gtk_widget_set_tooltip_text (bar->priv->button, _("Write contents to a CD or DVD disc"));
+
}
static void
@@ -166,10 +159,6 @@
g_return_if_fail (bar->priv != NULL);
- if (bar->priv->tooltips != NULL) {
- g_object_unref (bar->priv->tooltips);
- }
-
G_OBJECT_CLASS (nautilus_burn_bar_parent_class)->finalize (object);
}