summaryrefslogtreecommitdiff
path: root/tests/testsocket.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-10-19 17:03:14 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-10-19 17:03:14 +0000
commitb11cee8b3aed91e152c2dbc78312b955ce417c17 (patch)
treeffebddcf941d26243fc18d444a7ca4903cd87ae5 /tests/testsocket.c
parent061fec584185d6a82b79a88ecb62abb64766acb8 (diff)
downloadgdk-pixbuf-b11cee8b3aed91e152c2dbc78312b955ce417c17.tar.gz
Remove now useless include of unistd.h, fix wrong argument
Fri Oct 19 12:49:12 2001 Owen Taylor <otaylor@redhat.com> * tests/testsocket.c: Remove now useless include of unistd.h, fix wrong argument gtk_socket_steal. (Hans Breuer, #58541)
Diffstat (limited to 'tests/testsocket.c')
-rw-r--r--tests/testsocket.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/testsocket.c b/tests/testsocket.c
index de143b3e5..149be0149 100644
--- a/tests/testsocket.c
+++ b/tests/testsocket.c
@@ -3,7 +3,6 @@
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
-#include <unistd.h>
int n_children = 0;
@@ -131,7 +130,7 @@ steal (GtkWidget *window, GtkEntry *entry)
gtk_box_pack_start (GTK_BOX (vbox), socket->box, TRUE, TRUE, 0);
gtk_widget_show (socket->box);
- gtk_socket_steal (GTK_SOCKET (socket), xid);
+ gtk_socket_steal (GTK_SOCKET (socket->socket), xid);
}
void