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 328621 - libwnck docs should not export the _() macro
libwnck docs should not export the _() macro
Status: RESOLVED FIXED
Product: libwnck
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: libwnck maintainers
libwnck maintainers
Depends on:
Blocks:
 
 
Reported: 2006-01-25 17:49 UTC by Behdad Esfahbod
Modified: 2006-02-11 08:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Do not redefine _() (9.34 KB, patch)
2006-01-27 18:16 UTC, Vincent Untz
none Details | Review

Description Behdad Esfahbod 2006-01-25 17:49:18 UTC
Currently libwnck exports docs for the macro _().  It shouldn't.  That macro should be inherited from glib, so I'm not sure why it contains it even.

Anyway, the a patch like this should fix it:

Index: doc/libwnck-sections.txt
===================================================================
RCS file: /cvs/gnome/libwnck/doc/libwnck-sections.txt,v
retrieving revision 1.1
diff -u -p -r1.1 libwnck-sections.txt
--- doc/libwnck-sections.txt    10 Jan 2006 20:54:14 -0000      1.1
+++ doc/libwnck-sections.txt    25 Jan 2006 17:48:59 -0000
@@ -327,7 +327,7 @@ WNCK_TYPE_WINDOW_TYPE
 <FILE>inlinepixbufs</FILE>
 </SECTION>

-<SECTION>
+<SECTION Private>
 <FILE>private</FILE>
 _
 WNCK_ACTIVATE_TIMEOUT
Comment 1 Vincent Untz 2006-01-27 18:16:18 UTC
Created attachment 58228 [details] [review]
Do not redefine _()

I removed the definition of _(). I did not apply the patch yet, because the macro gets documented in doc/tmpl/libwnck-unused.sgml.

Don't know why...
Comment 2 Behdad Esfahbod 2006-01-27 18:27:09 UTC
The patch apparently includes some other stuff to.  No idea why it shows up in unused.
Comment 3 Vincent Untz 2006-02-11 08:30:16 UTC
Fixed in HEAD.