summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-01-04 10:38:41 -0500
committerDavid Robillard <d@drobilla.net>2018-01-04 10:38:41 -0500
commitf42f78b45a47d7259bc0e0375b6d228f89309903 (patch)
tree2764366f0582635e10f5a040fa8b604226000543 /src
parentca56a238d3f6119ea880c4751b4aa97b584aed3c (diff)
downloadsuil-f42f78b45a47d7259bc0e0375b6d228f89309903.tar.gz
suil-f42f78b45a47d7259bc0e0375b6d228f89309903.tar.bz2
suil-f42f78b45a47d7259bc0e0375b6d228f89309903.zip
Fix Windows build
Diffstat (limited to 'src')
-rw-r--r--src/win_in_gtk2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/win_in_gtk2.cpp b/src/win_in_gtk2.cpp
index ca8bf2a..70c7c1a 100644
--- a/src/win_in_gtk2.cpp
+++ b/src/win_in_gtk2.cpp
@@ -225,7 +225,7 @@ suil_wrapper_new(SuilHost* host,
wrap->flt_win = gtk_widget_get_window(parent);
gdk_window_add_filter(wrap->flt_win, event_filter, wrap);
- HWND parent_window = GDK_WINDOW_HWND;
+ HWND parent_window = (HWND)GDK_WINDOW_HWND(window);
suil_add_feature(features, &n_features, LV2_UI__parent, parent_window);
suil_add_feature(features, &n_features, LV2_UI__resize, &wrapper->resize);
suil_add_feature(features, &n_features, LV2_UI__idleInterface, NULL);