diff options
Diffstat (limited to 'gtk/gtksocket-win32.c')
-rw-r--r-- | gtk/gtksocket-win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtksocket-win32.c b/gtk/gtksocket-win32.c index 8e9406f81f..d300304d51 100644 --- a/gtk/gtksocket-win32.c +++ b/gtk/gtksocket-win32.c @@ -43,7 +43,7 @@ GdkNativeWindow _gtk_socket_windowing_get_id (GtkSocket *socket) { g_return_val_if_fail (GTK_IS_SOCKET (socket), 0); - g_return_val_if_fail (GTK_WIDGET_ANCHORED (socket), 0); + g_return_val_if_fail (_gtk_widget_get_anchored (GTK_WIDGET (socket)), 0); if (!gtk_widget_get_realized (GTK_WIDGET (socket))) gtk_widget_realize (GTK_WIDGET (socket)); |