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)
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user