After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 679805 - minor introspection typo fixes (?)
minor introspection typo fixes (?)
Status: RESOLVED FIXED
Product: vte
Classification: Core
Component: general
0.32.x
Other All
: Normal normal
: ---
Assigned To: VTE Maintainers
VTE Maintainers
: 680824 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-07-12 15:20 UTC by Rafał Mużyło
Modified: 2012-08-24 19:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
introspection fixes (2.04 KB, patch)
2012-07-12 15:20 UTC, Rafał Mużyło
none Details | Review
updated patch (no functional differences) (2.05 KB, patch)
2012-08-13 20:00 UTC, Rafał Mużyło
none Details | Review

Description Rafał Mużyło 2012-07-12 15:20:09 UTC
Created attachment 218640 [details] [review]
introspection fixes

Besides two obvious typos, I've added '(scope call):' in three places.
I'm not sure if that's the correct value, but the descriptions of those functions would suggest so.

On unrelated note:
during build I see:
vtebg.c: In function 'vte_bg_cache_item_free':
vtebg.c:282:5: warning: dereferencing type-punned pointer will break strict-aliasing rules
vtebg.c: In function 'vte_bg_cache_add':
vtebg.c:342:8: warning: dereferencing type-punned pointer will break strict-aliasing rules
now, it's just an idea, but it seems that removing those casts and changing the type of that structure field from 'GdkPixbuf*' to 'void*' silences the warnings - not sure if that proper though.

I'm also not quite sure how to go about:
vteaccess.c: In function 'vte_terminal_accessible_finalize':
vteaccess.c:974:11: warning: dereferencing type-punned pointer will break strict-aliasing rules

On the other hand
vteaccess.c: In function 'vte_terminal_accessible_get_index_in_parent':
vteaccess.c:2289:7: warning: declaration of 'index' shadows a global declaration
might just be a complaint about 'char *index(const char *s, int c);' from strings.h - just a guess though.
Comment 1 Christian Persch 2012-07-12 16:12:40 UTC
Just ignore those compiler erros.

Patch looks ok, please commit to vte-0-34 and vte-next branches (will have to adapt a bit to vte-next).
Comment 2 Christian Persch 2012-08-13 18:43:10 UTC
Ping ? Do you have a gnome git account and can commit yourself?
Comment 3 Christian Persch 2012-08-13 18:46:48 UTC
*** Bug 680824 has been marked as a duplicate of this bug. ***
Comment 4 Rafał Mużyło 2012-08-13 18:58:08 UTC
(In reply to comment #2)
> Ping ? Do you have a gnome git account and can commit yourself?

If I had an account, I'd press much harder in regard of bug 513812 (and investigated bug 679630 properly by now).
I just lurk around and every now and then try to make correct guesses.
Comment 5 Behdad Esfahbod 2012-08-13 18:59:56 UTC
Jeez, not that bug again :))
Comment 6 Christian Persch 2012-08-13 19:22:51 UTC
Alright. Attach a git format-patch formatted patch against vte-0-34 branch, and I'll commit for you.
Comment 7 Rafał Mużyło 2012-08-13 20:00:23 UTC
Created attachment 221054 [details] [review]
updated patch (no functional differences)

Other than the offsets, there's no difference between the file I initially attached and a patch against current vte-0-34 HEAD.
Comment 8 Christian Persch 2012-08-13 20:19:29 UTC
That's not a git format-patch patch that can be git-am'd ...
Comment 9 Christian Persch 2012-08-24 19:17:17 UTC
Fixed on 0-34 and next. Next time, please do use git format-patch.