summaryrefslogtreecommitdiff
path: root/gdk/win32/gdkgc-win32.c
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2002-12-17 01:39:11 +0000
committerTor Lillqvist <tml@src.gnome.org>2002-12-17 01:39:11 +0000
commit7ed6dc1da84e8716463e819144aa9a4649f36568 (patch)
treedea6b9a03445500233ec7cbbedc0ae2e8c4b164d /gdk/win32/gdkgc-win32.c
parent47de18549afe6e91fd56fabf6176e12a63722cb4 (diff)
downloadgtk+-7ed6dc1da84e8716463e819144aa9a4649f36568.tar.gz
Minor cosmetics.
2002-12-17 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkglobals-win32.c: Minor cosmetics. Implement two missing functions (#101369) * gdk/win32/gdkevents-win32.c (gdk_display_add_client_message_filter): Implement by calling gdk_add_client_message_filter(), no separate displays on Windows, at least not yet. * gdk/win32/gdkgc-win32.c (gdk_gc_get_screen): Implement by returning the only screen so far, _gdk_screen.
Diffstat (limited to 'gdk/win32/gdkgc-win32.c')
-rw-r--r--gdk/win32/gdkgc-win32.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdk/win32/gdkgc-win32.c b/gdk/win32/gdkgc-win32.c
index 70c1ad2dae..66b90dfb4f 100644
--- a/gdk/win32/gdkgc-win32.c
+++ b/gdk/win32/gdkgc-win32.c
@@ -730,6 +730,14 @@ gdk_gc_copy (GdkGC *dst_gc,
sizeof (DWORD) * src_win32_gc->pen_num_dashes);
}
+GdkScreen *
+gdk_gc_get_screen (GdkGC *gc)
+{
+ g_return_val_if_fail (GDK_IS_GC_WIN32 (gc), NULL);
+
+ return _gdk_screen;
+}
+
static guint bitmask[9] = { 0, 1, 3, 7, 15, 31, 63, 127, 255 };
COLORREF