Re: PATCH: G_DEFINE_INTERFACE_TYPE macro



Corrected last remaining bugs (i had Class instead of Iface) and already
compiled/tested it.
I am sending two patches patch #1 has the 
egg_foobar_class_init (EggFoobarIface *klass) convention. The second
patch has egg_foobar_iface_init (EggFoobarIface *iface) which is what i
think as a more appropriate convention to interfaces.

On Wed, 2004-08-25 at 16:07, Tiago Cogumbreiro wrote:
> Added _WITH_CODE variants, pointed out by rambokid
> 
> On Wed, 2004-08-25 at 15:58, Tiago Cogumbreiro wrote:
> > I've added support for class_init in the macro (pointed out by Owen).
> > On Wed, 2004-08-25 at 15:42, Tiago Cogumbreiro wrote:
> > > After some suggestions on #gtk+ I've made some changes to the macro
> > > definition, hope it's better now :)
> > > 
> > > On Wed, 2004-08-25 at 15:26, Tiago Cogumbreiro wrote:
> > > > I've implemented a macro that i find it to be missing to the
> > > > G_DEFINE_*_TYPE: G_DEFINE_INTERFACE_TYPE
> > > > 
> > > > As the name infers it's supposed to define the get_type function which
> > > > defines an interface.
> > > > 
> > > > 
> > > > ______________________________________________________________________
> > > > _______________________________________________
> > > > gtk-devel-list mailing list
> > > > gtk-devel-list gnome org
> > > > http://mail.gnome.org/mailman/listinfo/gtk-devel-list
> > > 
> > > ______________________________________________________________________
> > > _______________________________________________
> > > gtk-devel-list mailing list
> > > gtk-devel-list gnome org
> > > http://mail.gnome.org/mailman/listinfo/gtk-devel-list
> > 
> > ______________________________________________________________________
> > _______________________________________________
> > gtk-devel-list mailing list
> > gtk-devel-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gtk-devel-list
> 
> ______________________________________________________________________
> _______________________________________________
> gtk-devel-list mailing list
> gtk-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-devel-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]