RSS/Atom feed Twitter
Site is read-only, email is disabled

Gegl code clean-up

This discussion is connected to the gegl-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

5 of 5 messages available
Toggle history

Please log in to manage your subscriptions.

Gegl code clean-up geert jordaens 07 Jun 19:47
Gegl code clean-up Sven Neumann 08 Jun 23:56
Gegl code clean-up geert jordaens 09 Jun 22:06
Gegl code clean-up Michael Natterer 10 Jun 13:11
  Gegl code clean-up geert jordaens 10 Jun 21:07
geert jordaens
2005-06-07 19:47:27 UTC (over 19 years ago)

Gegl code clean-up

I've noticed that some code cleanup is started on GEGL, maybee it would be wise to add the _() macro to the parameter specifications.

g_object_class_install_property (gobject_class, PROP_NAME, g_param_spec_string ("name", _("Name"), _("The GeglObject's name"), "", G_PARAM_CONSTRUCT ||G_PARAM_READWRITE));

It could also be a task that i could take up.

Geert

Sven Neumann
2005-06-08 23:56:35 UTC (over 19 years ago)

Gegl code clean-up

Hi,

geert jordaens writes:

I've noticed that some code cleanup is started on GEGL, maybee it would be wise to add the _() macro to the parameter specifications.

g_object_class_install_property (gobject_class, PROP_NAME, g_param_spec_string ("name", _("Name"), _("The GeglObject's name"), "", G_PARAM_CONSTRUCT ||G_PARAM_READWRITE));

It could also be a task that i could take up.

Adding i18n support can certainly not hurt. There is some framework missing for i18n but you could look at libgimp or other libraries and add the missing pieces.

We might want to inform gnome-i18n list that it isn't yet worth to to translate gegl but that we will notify them when they can start.

Sven

geert jordaens
2005-06-09 22:06:33 UTC (over 19 years ago)

Gegl code clean-up

Sven Neumann wrote:

Hi,

geert jordaens writes:

I've noticed that some code cleanup is started on GEGL, maybee it would be wise to add the _() macro to the parameter specifications.

g_object_class_install_property (gobject_class, PROP_NAME, g_param_spec_string ("name", _("Name"), _("The GeglObject's name"), "", G_PARAM_CONSTRUCT ||G_PARAM_READWRITE));

It could also be a task that i could take up.

Adding i18n support can certainly not hurt. There is some framework missing for i18n but you could look at libgimp or other libraries and add the missing pieces.

We might want to inform gnome-i18n list that it isn't yet worth to to translate gegl but that we will notify them when they can start.

Sven

I think I've got it covered.

modified : ./configure.in
./Makefile.am
./gegl/Makefile.am
./gegl/gegl-object.c (included gegl-intl.h)

copied from gimp. ./intltool-*

created :
./po
./po/Makefile.am
./po/POTFILES.in
./po/Makefile.in.in
./gegl/gegl-intl.h

Another question concerning cleanup. Is it worth using defining private members in a structure
and using the macro G_TYPE_INSTANCE_GET_PRIVATE?

Geert

Michael Natterer
2005-06-10 13:11:59 UTC (over 19 years ago)

Gegl code clean-up

On Thu, 2005-06-09 at 22:06 +0200, geert jordaens wrote:

I think I've got it covered.

modified : ./configure.in
./Makefile.am
./gegl/Makefile.am
./gegl/gegl-object.c (included gegl-intl.h)

copied from gimp. ./intltool-*

Instead of copying them, you should have added the needed lines from gimp's autogen.sh to gegl's autogen.sh. It's intltoolize which creates these files.

ciao,
--mitch

geert jordaens
2005-06-10 21:07:33 UTC (over 19 years ago)

Gegl code clean-up

Michael Natterer wrote:

On Thu, 2005-06-09 at 22:06 +0200, geert jordaens wrote:

I think I've got it covered.

modified : ./configure.in
./Makefile.am
./gegl/Makefile.am
./gegl/gegl-object.c (included gegl-intl.h)

copied from gimp. ./intltool-*

Instead of copying them, you should have added the needed lines from gimp's autogen.sh to gegl's autogen.sh. It's intltoolize which creates these files.

ciao,
--mitch

Created a bug report against GEGL and attached the patch file and additional files.
http://bugzilla.gnome.org/show_bug.cgi?id=307195