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 121967 - Functions not available on win32
Functions not available on win32
Status: RESOLVED FIXED
Product: gtkmm
Classification: Bindings
Component: general
2.4
Other Windows
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2003-09-11 07:51 UTC by Cedric Gustin
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add missing functions on win32. (12.65 KB, patch)
2003-09-11 07:59 UTC, Cedric Gustin
none Details | Review

Description Cedric Gustin 2003-09-11 07:51:30 UTC
Some classes and class methods are not available on win32 because the 
corresponding functions are not DLL exported in the GTK+ library. Of 
particular interest is the GTk::Clipboard class (gtk_clipboard_get_type is 
not available on win32). In the gtkmm source code, these classes/methods 
are commented out using the _GTKMMPROC_SIGNAL_H_AND_CC(#ifndef G_OS_WIN32) 
directive.
Comment 1 Cedric Gustin 2003-09-11 07:57:47 UTC
With the latest gtk+-2.2.4, many of these discrepancies were removed 
in the C library. In particular gtk_clipboard_* functions are now DLL 
exported. The following patch removes a bunch of 
_GTKMMPROC_SIGNAL_H_AND_CC(#ifndef G_OS_WIN32) 
directives. 
There are still a few differences between the unix and win32 ports of 
gtkmm, which are described in the README.win32 file, exclusively 
related to atk. This should be fixed in the next release of atk (it's 
already fixed in CVS). Atkmm will then be updated accordingly.
Comment 2 Cedric Gustin 2003-09-11 07:59:36 UTC
Created attachment 19856 [details] [review]
Add missing functions on win32.
Comment 3 Murray Cumming 2003-09-13 18:03:02 UTC
Excellent. Please commit.
Comment 4 Cedric Gustin 2003-09-15 12:01:49 UTC
I don't have CVS write access.
Comment 5 Bryan Forbes 2003-09-15 17:14:39 UTC
Patched and committed.
Comment 6 Murray Cumming 2003-09-19 09:12:38 UTC
This needs to be committed to gtkmm 2.4 as well.
Comment 7 Murray Cumming 2003-09-28 16:11:20 UTC
Committed to glibmm 2.4 and gtkmm 2.4.