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/gtkdialog.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/gtkdialog.c')
-rw-r--r-- | gtk/gtkdialog.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gtk/gtkdialog.c b/gtk/gtkdialog.c index 3a3c49bc97..8e77e60efc 100644 --- a/gtk/gtkdialog.c +++ b/gtk/gtkdialog.c @@ -740,7 +740,6 @@ void gtk_dialog_response (GtkDialog *dialog, gint response_id) { - g_return_if_fail (dialog != NULL); g_return_if_fail (GTK_IS_DIALOG (dialog)); gtk_signal_emit (GTK_OBJECT (dialog), |