GtkObject in gnome-utils/Gnome-Calculator
- From: "Yogeesh MB" <yogeeshappa mathighatta wipro com>
- To: "Yogeesh M B" <yogeeshappa mathighatta wipro com>
- Cc: <gtk-list gnome org>
- Subject: GtkObject in gnome-utils/Gnome-Calculator
- Date: Wed, 13 Feb 2002 12:10:38 +0530
Hi,
In gnome-utils/Gnome-calculator has both GTK_OBJECT_CLASS destroy call
:gnome_calc_destroy(GtkObject * gobject), and G_OBJECT_CLASS finalize
:gnome_calc_finalize(GObject * gobject).
GTK_OBJECT_CLASS is deprecated and there is no destroy call in
G_OBJECT_CLASS. I would like to know why the destroy call is still
retained. Isn't finalize a substitute for destroy?
Regards,
Yogeesh MB.
Kevin wrote:
Hi Yogeesh. I hate to do this, but you should probably ask on the gtk-list
mailing list since this is a very general porting question. I'm not familiar
with the changes needed to port from GtkObject to GObject so the gtk list
will give a better answer.
Regards,
Kevin
----- Original Message -----
From: Yogeesh MB
To: kfv101 psu edu
Sent: Saturday, February 09, 2002 1:47 AM
Subject: GtkObject in Gnome-Calculator
Hi Kevin,
I was testing the ported gnome-utils/gnome-calculator,
I found there is GtkObject function call gnome_calc_destroy(GtkObject *
gobject) used.
In GTK_OBJECT_CALSS there is a destroy call. but in (deprecated)
G_OBJECT_CLASS as such there is no destroy call (except finalize)
I have build the gnome-calulator by commenting destroy call, Its working
fine.
Let me know the reason why still GTK_OBJECT_CLASS(destroy) exists.
I mailed Bastien Nocera in this regard, below is the mail from him.
Awaiting for ur reply,
Regards,
Yogeesh MB.
******************************************
Hi,
Kevin Vandersloot <kfv101 psu edu> is responsible for the gnome-utils
port these days. Mail him.
Cheers
On Fri, 2002-02-08 at 14:54, Yogeesh MB wrote:
> Hi George,
>
> I was testing the ported gnome-utils/gnome-calculator,
> I found there is GtkObject function call gnome_calc_destroy(GtkObject *
gobject) used.
> In GTK_OBJECT_CALSS there is a destroy call. but in (deprecated)
> G_OBJECT_CLASS as such there is no destroy call (except finalize)
> I have build the gnome-calulator by commenting destroy call, Its working
fine.
>
> Let me know the reason why still GTK_OBJECT_CLASS(destroy) exists.
>
> awaiting for ur reply,
> Regards,
>
> Yogeesh MB.
> Sr. Software Engineer,
> Wipro Technologies,
> #53/1, Ganapa Complex,
> Madivala(M3), Hosur Road,
> Bangalore-68.
> Ph:5502001-8, X 5127
> Res:6728996.
>
>
>
/Bastien Nocera
http://hadess.net
Bangalore-68.
Ph:5502001-8, X 5127
Res:6728996.
**************************Disclaimer************************************
Information contained in this E-MAIL being proprietary to Wipro Limited
is 'privileged' and 'confidential' and intended for use only by the
individual or entity to which it is addressed. You are notified that any
use, copying or dissemination of the information contained in the E-MAIL
in any manner whatsoever is strictly prohibited.
********************************************************************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]