summaryrefslogtreecommitdiff
path: root/gtk/gtksocket.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtksocket.c')
-rw-r--r--gtk/gtksocket.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtksocket.c b/gtk/gtksocket.c
index 70e2fb7d3..d5ca43e89 100644
--- a/gtk/gtksocket.c
+++ b/gtk/gtksocket.c
@@ -292,7 +292,6 @@ gtk_socket_realize (GtkWidget *widget)
gint attributes_mask;
XWindowAttributes xattrs;
- g_return_if_fail (widget != NULL);
g_return_if_fail (GTK_IS_SOCKET (widget));
socket = GTK_SOCKET (widget);
@@ -435,7 +434,6 @@ gtk_socket_size_allocate (GtkWidget *widget,
{
GtkSocket *socket;
- g_return_if_fail (widget != NULL);
g_return_if_fail (GTK_IS_SOCKET (widget));
g_return_if_fail (allocation != NULL);