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 644564 - Limit the list of symbols exported by libmutter-{wm,private}
Limit the list of symbols exported by libmutter-{wm,private}
Status: RESOLVED FIXED
Product: mutter
Classification: Core
Component: general
2.91.x
Other Linux
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2011-03-12 15:08 UTC by Frederic Peters
Modified: 2014-12-30 02:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Limit the list of exported symbols in libmutter* (1.14 KB, patch)
2011-03-12 15:09 UTC, Frederic Peters
needs-work Details | Review

Description Frederic Peters 2011-03-12 15:08:34 UTC
libmutter-wm exports all its symbols, for example:

__window_is_terminal@Base 2.91.91-1
_meta_plugin_effect_started@Base 2.91.91-1
_mutter_marshal_VOID__INT_INT_ENUM@Base 2.91.91-1
ag_*
meta_*
preference_update_handler@Base 2.91.91-1
wnck_draw_workspace@Base 2.91.91-1

The attached patch makes it so that only ag_* and meta_* are exported. (ag_* is only needed for testasyncgetprop).
Comment 1 Frederic Peters 2011-03-12 15:09:35 UTC
Created attachment 183211 [details] [review]
Limit the list of exported symbols in libmutter*
Comment 2 Frederic Peters 2011-03-17 14:05:29 UTC
Comment on attachment 183211 [details] [review]
Limit the list of exported symbols in libmutter*

Not ready yet, and needs to be updated for libmutter as a single library.
Comment 3 Jasper St. Pierre (not reading bugmail) 2014-12-30 02:00:10 UTC
https://git.gnome.org/browse/mutter/commit/?id=d9985cd9bc4660a4b43206605111f874d2aa4645