[gtkada] GtkAda-2.2.X with Gtk+-2.4 -- More information

Jeffrey Creem jeff at thecreems.com
Thu Jun 17 13:31:59 CEST 2004


Here is the patch set that fixes the name collision for the gtkextra
gtkcombobox .

It changes all uses of the gtkcombobox (including all globally visible
functions and MACROS) to have
an appropriately "cased" and seperated "extra" in it (i.e. gtkcombobox
becomes gtkextracombobox and
GTK_COMBO_BOX becomes GTK_EXTRA_COMBO_BOX)

In addition to the standard "patch" I have a script that renames the
gtkextra/gtkcombobox.[ch] to gtkextra/gtkextracombobox.[ch]

The script is really just meant to serve as documentation as to exactly
which files need to be renamed and
what the target name should be.

One thing the patch does not do is to rename the "static" functions inside
of the gtkcombobox.c to avoid future
name collisions/confusion.

I considered just sending this privately to Arnaud since there is some good
chance he with want some tweaks (or it will need some tweaks) before it goes
into CVS but given other approaches that have been suggested to fix this I
figured this would be no worse than some other hacks.

I would recommend this only be used by people doing private build for
testing (i.e. don't fold it into any formal distributions).

The patch should be applied by being inside your GtkAda top level directory
and doing a
patch -p 0 < /pathtopatch/gtkadapatch

The "script" should also be run from the GtkAda root level (if the script
run is to be used for the rename of course)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gtkadarenamescript
Type: application/octet-stream
Size: 134 bytes
Desc: not available
Url : /pipermail/gtkada/attachments/20040617/c3291969/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gtkadapatch
Type: application/octet-stream
Size: 29033 bytes
Desc: not available
Url : /pipermail/gtkada/attachments/20040617/c3291969/attachment-0001.obj 


More information about the gtkada mailing list