Type entries can't move
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lsb |
In Progress
|
Medium
|
Unassigned | ||
Mandriva |
In Progress
|
Medium
|
Bug Description
During the gtk-stack uplift work, it apparently turned out one type had to be
moved, gfloat. The old gfloat belonged to headergroup 612 (Default Header
Section for glib-2.
libgobject-2.0. The new gfloat belongs to headergroup 928 (Arch Specific
Header Section for glib-2.0/glib.h) and listed as belonging to libglib-2.0.
The problem is, the schema doesn't really have any support for moving types.
For several changes recently we've ignored the issue and treated is as a "bug"
- just changing globally. With Theadgroup and Tlibrary part of the Type
record, you can't really do other than create a new entry with new values if
this isn't what you want. For the gfloat case, the ArchType entries were
expired and a new one was made. But two very important uses for Type entries,
interface return types and parameters, were not updated with the new type.
Right now, no parameters using the new one.
Navigator consistency checker sees this, without being able to spot the reason
(although that's not necessarily a requirement):
Excluded Types Used as Parameters of Included Interfaces (37 entries)
Name Ttype Header Library
...
gfloat Typedef glib-2.
Not sure I see how to make this better, but promised to file a bug to record
the issue.
We have these interfaces with old gfloat as the return type:
+------
| AIint | Iname | AIreturn |
+------
| 31368 | g_value_get_float | 11843 |
| 33664 | gtk_entry_
| 34429 | gtk_tree_
+------
and these interfaces with old gfloat as a parameter:
+------
| Iname | Pint | Ppos | Ptype |
+------
| g_value_set_float | 31252 | 2 | 11843 |
| g_param_spec_float | 31322 | 4 | 11843 |
| g_param_spec_float | 31322 | 5 | 11843 |
| g_param_spec_float | 31322 | 6 | 11843 |
| gdk_pixbuf_
| gtk_frame_
| gtk_frame_
| gtk_aspect_
| gtk_aspect_
| gtk_aspect_
| gtk_curve_set_gamma | 33115 | 2 | 11843 |
| gtk_curve_set_range | 33264 | 2 | 11843 |
| gtk_curve_set_range | 33264 | 3 | 11843 |
| gtk_curve_set_range | 33264 | 4 | 11843 |
| gtk_curve_set_range | 33264 | 5 | 11843 |
| gtk_aspect_
| gtk_aspect_
| gtk_aspect_
| gtk_tree_
| gtk_tree_
| gtk_tree_
| gtk_alignment_new | 34572 | 1 | 11843 |
| gtk_alignment_new | 34572 | 2 | 11843 |
| gtk_alignment_new | 34572 | 3 | 11843 |
| gtk_alignment_new | 34572 | 4 | 11843 |
| gtk_misc_
| gtk_misc_
| gtk_button_
| gtk_button_
| gtk_alignment_set | 34730 | 2 | 11843 |
| gtk_alignment_set | 34730 | 3 | 11843 |
| gtk_alignment_set | 34730 | 4 | 11843 |
| gtk_alignment_set | 34730 | 5 | 11843 |
| gtk_entry_
| gdk_pixbuf_
| gtk_icon_
| gtk_icon_
+------
Changed in mandriva: | |
importance: | Unknown → Medium |
status: | Unknown → In Progress |