Updating branch refs/heads/devel to b7723418b3e7ebe7ab907b2c6f0ebcdde5f40ad4 (commit) from 0cd5958c6e80a12b0ab8da0be77912e08353215e (commit)
commit b7723418b3e7ebe7ab907b2c6f0ebcdde5f40ad4 Author: Nick Schermer <n...@xfce.org> Date: Tue Dec 22 16:58:19 2009 +0100 Fix 2 other points where we use ->window. libxfce4panel/libxfce4panel-deprecated.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libxfce4panel/libxfce4panel-deprecated.h b/libxfce4panel/libxfce4panel-deprecated.h index 4d893bc..7bc7f35 100644 --- a/libxfce4panel/libxfce4panel-deprecated.h +++ b/libxfce4panel/libxfce4panel-deprecated.h @@ -161,11 +161,11 @@ enum /*< skip >*/ \ g_return_if_fail (GTK_IS_PLUG (plug)); \ g_return_if_fail (XFCE_IS_PANEL_PLUGIN (xpp)); \ - g_return_if_fail (GDK_IS_WINDOW (plug->window)); \ + g_return_if_fail (GDK_IS_WINDOW (gtk_widget_get_window (plug))); \ g_return_if_fail (_xpp_atom != GDK_NONE); \ \ event.type = GDK_CLIENT_EVENT; \ - event.window = plug->window; \ + event.window = gtk_widget_get_window (plug); \ event.send_event = TRUE; \ event.message_type = _xpp_atom; \ event.data_format = 16; \ _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits