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 505753 - New API support on Win32
New API support on Win32
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: Win32
unspecified
Other Windows
: Normal enhancement
: ---
Assigned To: gtk-win32 maintainers
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2007-12-26 16:38 UTC by Kazuki Iwamoto
Modified: 2008-01-10 21:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch for latest GDK (7.77 KB, patch)
2007-12-26 16:39 UTC, Kazuki Iwamoto
none Details | Review
multi monitor test program (1.03 KB, text/plain)
2007-12-26 16:51 UTC, Kazuki Iwamoto
  Details

Description Kazuki Iwamoto 2007-12-26 16:38:42 UTC
In revision 19173, the following APIs were appended.

gdk_screen_get_monitor_width_mm
gdk_screen_get_monitor_height_mm
gdk_screen_get_monitor_plug_name

http://svn.gnome.org/viewvc/gtk%2B?view=revision&revision=19173

But, they are not implemented on Windows.
I suggest the implementation of the new APIs.
Probably my suggestion is correct.
However, I can not prove it, because I do not have the multi monitor environment.
Comment 1 Kazuki Iwamoto 2007-12-26 16:39:48 UTC
Created attachment 101628 [details] [review]
patch for latest GDK
Comment 2 Kazuki Iwamoto 2007-12-26 16:51:46 UTC
Created attachment 101629 [details]
multi monitor test program

This is a test program for multi monitor.
It enumerates monitors and displays width, height and name.
If this program runs correctly, my suggestion is also correct.
Comment 3 Mathias Hasselmann (IRC: tbf) 2007-12-28 08:30:27 UTC
Related: Bug #450760, "gdk_screen_get_resolution returns -1 on Windows" - I guess.
Comment 4 Tor Lillqvist 2008-01-10 21:41:07 UTC
Committed, thanks.