diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-07-18 23:39:26 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-07-18 23:39:26 +0000 |
commit | 4e2b60ac4d32c5bef5b192a12a59f8c2a3124f81 (patch) | |
tree | 63b0cecda2350e250c3a1de4a53f43befab1b076 /gtk/gtkoldeditable.c | |
parent | b613a74cb20a480f9d95579243278660af300cee (diff) | |
download | gtk+-4e2b60ac4d32c5bef5b192a12a59f8c2a3124f81.tar.gz |
Patch from Matthias Clasen to remove remove all instances of
Wed Jul 18 19:28:46 2001 Owen Taylor <otaylor@redhat.com>
* 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.
Diffstat (limited to 'gtk/gtkoldeditable.c')
-rw-r--r-- | gtk/gtkoldeditable.c | 2 |
1 files changed, 0 insertions, 2 deletions
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]); |