Closed Bug 293250 Opened 20 years ago Closed 6 years ago

Need to add gtk_moz_embed_single_new to gtkmozembed.h to be exported properly

Categories

(Core Graveyard :: Embedding: GTK Widget, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: crichton, Assigned: mpgritti)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.6) Gecko/20050405 Firefox/1.0 (Ubuntu package 1.0.2)
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.6) Gecko/20050405 Firefox/1.0 (Ubuntu package 1.0.2)

gtk_moz_embed_single_new is declared non-static, so it's exported to the shared lib.

However, it's not in the extern "C" portion of the gtkmozembed.h file, so the
symbol name gets mangled, as well as the gtk_moz_embed_single_get_type symbol.

Fix is easy, add:

GTKMOZEMBED_API(GtkMozEmbedSingle *) gtk_moz_embed_single_new       (void);

to gtkmozembed.h


Reproducible: Always

Steps to Reproduce:
QA Contact: pavlov → gtk-widget
Product: Core → Core Graveyard
Embedding: GTK Widget isn't a thing, closing.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.