[gtk+] Add win32 implementation for foreign window functions
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Add win32 implementation for foreign window functions
- Date: Tue, 21 Dec 2010 17:15:43 +0000 (UTC)
commit 2650328ea8eb8914def43268604fe30ffa3982d7
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Dec 17 00:46:04 2010 -0500
Add win32 implementation for foreign window functions
gdk/win32/gdkwin32.h | 4 ++++
gdk/win32/gdkwindow-win32.c | 10 +++++-----
2 files changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/gdk/win32/gdkwin32.h b/gdk/win32/gdkwin32.h
index 5a49475..9d7d983 100644
--- a/gdk/win32/gdkwin32.h
+++ b/gdk/win32/gdkwin32.h
@@ -91,6 +91,10 @@ GdkPixbuf *gdk_win32_icon_to_pixbuf_libgtk_only (HICON hicon);
HICON gdk_win32_pixbuf_to_hicon_libgtk_only (GdkPixbuf *pixbuf);
void gdk_win32_set_modal_dialog_libgtk_only (HWND window);
+GdkWindow * gdk_win32_window_foreign_new_for_display (GdkDisplay *display,
+ GdkNativeWindow anid);
+GdkWindow * gdk_win32_window_lookup_for_display (GdkDisplay *display,
+ GdkNativeWindow anid);
G_END_DECLS
diff --git a/gdk/win32/gdkwindow-win32.c b/gdk/win32/gdkwindow-win32.c
index bd00e2c..2f67f35 100644
--- a/gdk/win32/gdkwindow-win32.c
+++ b/gdk/win32/gdkwindow-win32.c
@@ -618,8 +618,8 @@ _gdk_window_impl_new (GdkWindow *window,
}
GdkWindow *
-gdk_window_foreign_new_for_display (GdkDisplay *display,
- GdkNativeWindow anid)
+gdk_win32_window_foreign_new_for_display (GdkDisplay *display,
+ GdkNativeWindow anid)
{
GdkWindow *window;
GdkWindowObject *private;
@@ -677,7 +677,7 @@ gdk_window_foreign_new_for_display (GdkDisplay *display,
g_object_ref (window);
gdk_win32_handle_table_insert (&GDK_WINDOW_HWND (window), window);
- GDK_NOTE (MISC, g_print ("gdk_window_foreign_new_for_display: %p: %s %+d%+d\n",
+ GDK_NOTE (MISC, g_print ("gdk_win32_window_foreign_new_for_display: %p: %s %+d%+d\n",
(HWND) anid,
_gdk_win32_drawable_description (window),
private->x, private->y));
@@ -3092,8 +3092,8 @@ gdk_win32_window_shape_combine_region (GdkWindow *window,
}
GdkWindow *
-gdk_window_lookup_for_display (GdkDisplay *display,
- GdkNativeWindow anid)
+gdk_win32_window_lookup_for_display (GdkDisplay *display,
+ GdkNativeWindow anid)
{
g_return_val_if_fail (display == _gdk_display, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]