Re: gnome-about ported to Gnome 2.0
- From: jacob berkman <jacob ximian com>
- To: Deepa Chacko Pillai <deepa chacko wipro com>
- Cc: desktop-devel-list <desktop-devel-list gnome org>, Anders Carlsson <andersca gnu org>
- Subject: Re: gnome-about ported to Gnome 2.0
- Date: 21 Feb 2002 12:41:44 -0500
On Thu, 2002-02-21 at 11:40, Deepa Chacko Pillai wrote:
> Hi
>
> I have ported gnome-about to GNOME 2.0. I have removed all the
> deprecated calls except for GdkFont. I will deliver a separate patch
> once I am done with that. I will make the session management changes
> also in the next patch.
i would remove:
> static void
> -unref_gdk_pixbuf (GtkObject *object, gpointer data)
> +unref_gdk_pixbuf (GObject *object, gpointer data)
> {
> - gdk_pixbuf_unref (data);
> + g_object_unref (data);
> }
and change:
> + g_signal_connect (G_OBJECT (image), "destroy",
> + G_CALLBACK (unref_gdk_pixbuf), im);
to:
g_signal_connect_swapped (image, "destroy",
G_CALLBACK (g_object_unref),
im);
jacob
--
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]