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.
This commit is contained in:
committed by
Tor Lillqvist
parent
47de18549a
commit
7ed6dc1da8
14
ChangeLog
14
ChangeLog
@@ -1,3 +1,17 @@
|
||||
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.
|
||||
|
||||
Mon Dec 16 16:18:15 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktexttag.c (gtk_text_tag_get_property): Get rid
|
||||
|
||||
@@ -1,3 +1,17 @@
|
||||
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.
|
||||
|
||||
Mon Dec 16 16:18:15 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktexttag.c (gtk_text_tag_get_property): Get rid
|
||||
|
||||
@@ -1,3 +1,17 @@
|
||||
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.
|
||||
|
||||
Mon Dec 16 16:18:15 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktexttag.c (gtk_text_tag_get_property): Get rid
|
||||
|
||||
@@ -1,3 +1,17 @@
|
||||
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.
|
||||
|
||||
Mon Dec 16 16:18:15 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktexttag.c (gtk_text_tag_get_property): Get rid
|
||||
|
||||
@@ -1,3 +1,17 @@
|
||||
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.
|
||||
|
||||
Mon Dec 16 16:18:15 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktexttag.c (gtk_text_tag_get_property): Get rid
|
||||
|
||||
@@ -1,3 +1,17 @@
|
||||
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.
|
||||
|
||||
Mon Dec 16 16:18:15 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktexttag.c (gtk_text_tag_get_property): Get rid
|
||||
|
||||
@@ -775,6 +775,16 @@ gdk_event_apply_filters (MSG *msg,
|
||||
return GDK_FILTER_CONTINUE;
|
||||
}
|
||||
|
||||
void
|
||||
gdk_display_add_client_message_filter (GdkDisplay *display,
|
||||
GdkAtom message_type,
|
||||
GdkFilterFunc func,
|
||||
gpointer data)
|
||||
{
|
||||
/* XXX */
|
||||
gdk_add_client_message_filter (message_type, func, data);
|
||||
}
|
||||
|
||||
void
|
||||
gdk_add_client_message_filter (GdkAtom message_type,
|
||||
GdkFilterFunc func,
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -28,9 +28,9 @@
|
||||
#include "gdktypes.h"
|
||||
#include "gdkprivate-win32.h"
|
||||
|
||||
GdkDisplay *_gdk_display = NULL;
|
||||
GdkScreen *_gdk_screen = NULL;
|
||||
GdkWindow *_gdk_parent_root = NULL;
|
||||
GdkDisplay *_gdk_display = NULL;
|
||||
GdkScreen *_gdk_screen = NULL;
|
||||
GdkWindow *_gdk_parent_root = NULL;
|
||||
|
||||
HWND _gdk_root_window = NULL;
|
||||
HDC _gdk_display_hdc;
|
||||
|
||||
Reference in New Issue
Block a user