diff --git a/widget/src/gtk/nsClipboard.cpp b/widget/src/gtk/nsClipboard.cpp index c88d905ac778..01c2e3f6e2e8 100644 --- a/widget/src/gtk/nsClipboard.cpp +++ b/widget/src/gtk/nsClipboard.cpp @@ -984,21 +984,15 @@ void nsClipboard::SelectionClearCB(GtkWidget *aWidget, g_print(" nsClipboard::SelectionClearCB\n"); #endif /* DEBUG_CLIPBOARD */ - if (!aWidget) - { + if (!aWidget) { NS_ASSERTION(PR_FALSE, "Null widget passed to SelectionClearCB)\n"); return; } - if (!aEvent) - { + + if (!aEvent) { NS_ASSERTION(PR_FALSE, "Null event passed to SelectionClearCB)\n"); return; } - if (!aData) - { - NS_ASSERTION(PR_FALSE, "Null data passed to SelectionClearCB)\n"); - return; - } nsClipboard *cb = (nsClipboard *)gtk_object_get_data(GTK_OBJECT(aWidget), "cb");