diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/win_in_gtk2.cpp | 2 |
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); |