From 4e2b60ac4d32c5bef5b192a12a59f8c2a3124f81 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Wed, 18 Jul 2001 23:39:26 +0000 Subject: Patch from Matthias Clasen to remove remove all instances of Wed Jul 18 19:28:46 2001 Owen Taylor * gtk/*.c: Patch from Matthias Clasen to remove remove all instances of g_return_if_fail (foo != NULL); that are immediately before a g_return_if_fail (GTK_IS_FOO (foo)); since the second check catches the NULL anyways. --- gtk/gtkoldeditable.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'gtk/gtkoldeditable.c') diff --git a/gtk/gtkoldeditable.c b/gtk/gtkoldeditable.c index c28dbc6362..dd88adecaa 100644 --- a/gtk/gtkoldeditable.c +++ b/gtk/gtkoldeditable.c @@ -748,7 +748,6 @@ gtk_old_editable_claim_selection (GtkOldEditable *old_editable, gboolean claim, guint32 time) { - g_return_if_fail (old_editable != NULL); g_return_if_fail (GTK_IS_OLD_EDITABLE (old_editable)); g_return_if_fail (GTK_WIDGET_REALIZED (old_editable)); @@ -846,7 +845,6 @@ gtk_old_editable_real_paste_clipboard (GtkOldEditable *old_editable) void gtk_old_editable_changed (GtkOldEditable *old_editable) { - g_return_if_fail (old_editable != NULL); g_return_if_fail (GTK_IS_OLD_EDITABLE (old_editable)); gtk_signal_emit (GTK_OBJECT (old_editable), editable_signals[CHANGED]); -- cgit v1.2.1