diff options
author | Christian Dywan <christian@twotoasts.de> | 2009-10-07 18:31:13 +0200 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-05-03 01:40:41 +0200 |
commit | 61a294d820954c7944bd3debdce8950173c94c1b (patch) | |
tree | 65fd319cf6d14e0c77ea863ba009022b8abb60a3 /gtk/gtksocket.c | |
parent | 2da9103e0c95966828a19cfd60dd9c31ef81bd7a (diff) | |
download | gtk+-61a294d820954c7944bd3debdce8950173c94c1b.tar.gz |
Remove deprecated GtkSocket functions
Diffstat (limited to 'gtk/gtksocket.c')
-rw-r--r-- | gtk/gtksocket.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/gtk/gtksocket.c b/gtk/gtksocket.c index 3531af47fc..dfb20f001d 100644 --- a/gtk/gtksocket.c +++ b/gtk/gtksocket.c @@ -290,32 +290,6 @@ gtk_socket_new (void) } /** - * gtk_socket_steal: - * @socket_: a #GtkSocket - * @wid: the window ID of an existing toplevel window. - * - * Reparents a pre-existing toplevel window into a #GtkSocket. This is - * meant to embed clients that do not know about embedding into a - * #GtkSocket, however doing so is inherently unreliable, and using - * this function is not recommended. - * - * The #GtkSocket must have already be added into a toplevel window - * before you can make this call. - **/ -void -gtk_socket_steal (GtkSocket *socket, - GdkNativeWindow wid) -{ - g_return_if_fail (GTK_IS_SOCKET (socket)); - g_return_if_fail (GTK_WIDGET_ANCHORED (socket)); - - if (!gtk_widget_get_realized (GTK_WIDGET (socket))) - gtk_widget_realize (GTK_WIDGET (socket)); - - _gtk_socket_add_window (socket, wid, TRUE); -} - -/** * gtk_socket_add_id: * @socket_: a #GtkSocket * @window_id: the window ID of a client participating in the XEMBED protocol. |