diff options
author | jstebbins <[email protected]> | 2011-03-22 01:25:59 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2011-03-22 01:25:59 +0000 |
commit | 8af0a82a5e85c29663f56092e148c54680e17bf7 (patch) | |
tree | a59feccd05581b01a1eee9576aca1f5e0ab8e439 /gtk | |
parent | 49e48e0e8e43c927df53f06baea9d7ec61eae21e (diff) |
LinGui: Remove use of depricated GDK_DRAWABLE_XID
Replace with GDK_WINDOW_XID
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3865 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/src/callbacks.c | 2 | ||||
-rw-r--r-- | gtk/src/preview.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c index 93d8db728..9bc2dd7cc 100644 --- a/gtk/src/callbacks.c +++ b/gtk/src/callbacks.c @@ -4410,7 +4410,7 @@ ghb_inhibit_gsm(signal_user_data_t *ud) return; } widget = GHB_WIDGET(ud->builder, "hb_window"); - xid = GDK_DRAWABLE_XID(gtk_widget_get_window(widget)); + xid = GDK_WINDOW_XID(gtk_widget_get_window(widget)); res = dbus_g_proxy_call(proxy, "Inhibit", &error, G_TYPE_STRING, "ghb", G_TYPE_UINT, xid, diff --git a/gtk/src/preview.c b/gtk/src/preview.c index e0cc6382d..39cf014a3 100644 --- a/gtk/src/preview.c +++ b/gtk/src/preview.c @@ -177,7 +177,7 @@ ghb_preview_init(signal_user_data_t *ud) #endif #if !defined(_WIN32) - ud->preview->xid = GDK_DRAWABLE_XID(gtk_widget_get_window(ud->preview->view)); + ud->preview->xid = GDK_WINDOW_XID(gtk_widget_get_window(ud->preview->view)); #else ud->preview->xid = GDK_WINDOW_HWND(gtk_widget_get_window(ud->preview->view)); #endif |