зеркало из https://github.com/mozilla/gecko-dev.git
Removed extra 0 arg from macro.
This commit is contained in:
Родитель
7ecb14fab0
Коммит
5feaa5b397
|
@ -41,7 +41,7 @@
|
|||
#include "glib.h"
|
||||
#include "nslog.h"
|
||||
|
||||
NS_IMPL_LOG(nsAppShellLog, 0)
|
||||
NS_IMPL_LOG(nsAppShellLog)
|
||||
#define PRINTF NS_LOG_PRINTF(nsAppShellLog)
|
||||
#define FLUSH NS_LOG_FLUSH(nsAppShellLog)
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
#undef NS_IMPL_IDS
|
||||
#include "nslog.h"
|
||||
|
||||
NS_IMPL_LOG(nsClipboardLog, 0)
|
||||
NS_IMPL_LOG(nsClipboardLog)
|
||||
#define PRINTF NS_LOG_PRINTF(nsClipboardLog)
|
||||
#define FLUSH NS_LOG_FLUSH(nsClipboardLog)
|
||||
|
||||
|
|
|
@ -20,15 +20,18 @@
|
|||
* Contributor(s):
|
||||
*/
|
||||
|
||||
#include "nslog.h"
|
||||
#undef printf
|
||||
#undef fprintf
|
||||
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsIServiceManager.h"
|
||||
#include "nsICharsetConverterManager.h"
|
||||
#include "nsIPlatformCharset.h"
|
||||
#include "nsFileWidget.h"
|
||||
#include "nsIToolkit.h"
|
||||
#include "nslog.h"
|
||||
|
||||
NS_IMPL_LOG(nsFileWidgetLog, 0)
|
||||
NS_IMPL_LOG(nsFileWidgetLog)
|
||||
#define PRINTF NS_LOG_PRINTF(nsFileWidgetLog)
|
||||
#define FLUSH NS_LOG_FLUSH(nsFileWidgetLog)
|
||||
|
||||
|
@ -115,7 +118,7 @@ static void file_cancel_clicked(GtkWidget *w, PRBool *ret)
|
|||
|
||||
static gint file_delete_window(GtkWidget *w, gpointer data)
|
||||
{
|
||||
PRINTF("window closed\n");
|
||||
PRINTF("window closed\n");
|
||||
gtk_main_quit();
|
||||
return PR_TRUE;
|
||||
}
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#include "nsFontSizeIterator.h"
|
||||
#include "nslog.h"
|
||||
|
||||
NS_IMPL_LOG(nsFontRetrieverServiceLog, 0)
|
||||
NS_IMPL_LOG(nsFontRetrieverServiceLog)
|
||||
#define PRINTF NS_LOG_PRINTF(nsFontRetrieverServiceLog)
|
||||
#define FLUSH NS_LOG_FLUSH(nsFontRetrieverServiceLog)
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
#include <X11/Xutil.h>
|
||||
#include "nslog.h"
|
||||
|
||||
NS_IMPL_LOG(nsGtkEventHandlerLog, 0)
|
||||
NS_IMPL_LOG(nsGtkEventHandlerLog)
|
||||
#define PRINTF NS_LOG_PRINTF(nsGtkEventHandlerLog)
|
||||
#define FLUSH NS_LOG_FLUSH(nsGtkEventHandlerLog)
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
#include "nsWindow.h"
|
||||
#include "nslog.h"
|
||||
|
||||
NS_IMPL_LOG(nsGtkIMEHelperLog, 0)
|
||||
NS_IMPL_LOG(nsGtkIMEHelperLog)
|
||||
#define PRINTF NS_LOG_PRINTF(nsGtkIMEHelperLog)
|
||||
#define FLUSH NS_LOG_FLUSH(nsGtkIMEHelperLog)
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include "nsXPLookAndFeel.h"
|
||||
#include "nslog.h"
|
||||
|
||||
NS_IMPL_LOG(nsLookAndFeelLog, 0)
|
||||
NS_IMPL_LOG(nsLookAndFeelLog)
|
||||
#define PRINTF NS_LOG_PRINTF(nsLookAndFeelLog)
|
||||
#define FLUSH NS_LOG_FLUSH(nsLookAndFeelLog)
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
#include <gtk/gtk.h>
|
||||
#include "nslog.h"
|
||||
|
||||
NS_IMPL_LOG(nsSoundLog, 0)
|
||||
NS_IMPL_LOG(nsSoundLog)
|
||||
#define PRINTF NS_LOG_PRINTF(nsSoundLog)
|
||||
#define FLUSH NS_LOG_FLUSH(nsSoundLog)
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#include "nsString.h"
|
||||
#include "nslog.h"
|
||||
|
||||
NS_IMPL_LOG(nsTextHelperLog, 0)
|
||||
NS_IMPL_LOG(nsTextHelperLog)
|
||||
#define PRINTF NS_LOG_PRINTF(nsTextHelperLog)
|
||||
#define FLUSH NS_LOG_FLUSH(nsTextHelperLog)
|
||||
|
||||
|
|
|
@ -44,8 +44,9 @@
|
|||
#include "nsIPref.h"
|
||||
#include "nsGtkIMEHelper.h"
|
||||
#include "nslog.h"
|
||||
#undef fprintf
|
||||
|
||||
NS_IMPL_LOG(nsWidgetLog, 0)
|
||||
NS_IMPL_LOG(nsWidgetLog)
|
||||
#define PRINTF NS_LOG_PRINTF(nsWidgetLog)
|
||||
#define FLUSH NS_LOG_FLUSH(nsWidgetLog)
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
#include <unistd.h>
|
||||
#include "nslog.h"
|
||||
|
||||
NS_IMPL_LOG(nsWindowLog, 0)
|
||||
NS_IMPL_LOG(nsWindowLog)
|
||||
#define PRINTF NS_LOG_PRINTF(nsWindowLog)
|
||||
#define FLUSH NS_LOG_FLUSH(nsWindowLog)
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ static PRInt32 gNumWidgets;
|
|||
#include "nslog.h"
|
||||
#undef fprintf
|
||||
|
||||
NS_IMPL_LOG(nsBaseWidgetLog, 0)
|
||||
NS_IMPL_LOG(nsBaseWidgetLog)
|
||||
#define PRINTF NS_LOG_PRINTF(nsBaseWidgetLog)
|
||||
#define FLUSH NS_LOG_FLUSH(nsBaseWidgetLog)
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ Notes to self:
|
|||
#include "nsSpecialSystemDirectory.h"
|
||||
#include "nslog.h"
|
||||
|
||||
NS_IMPL_LOG(nsTransferableLog, 0)
|
||||
NS_IMPL_LOG(nsTransferableLog)
|
||||
#define PRINTF NS_LOG_PRINTF(nsTransferableLog)
|
||||
#define FLUSH NS_LOG_FLUSH(nsTransferableLog)
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#include "nsIServiceManager.h"
|
||||
#include "nslog.h"
|
||||
|
||||
NS_IMPL_LOG(nsXPLookAndFeelLog, 0)
|
||||
NS_IMPL_LOG(nsXPLookAndFeelLog)
|
||||
#define PRINTF NS_LOG_PRINTF(nsXPLookAndFeelLog)
|
||||
#define FLUSH NS_LOG_FLUSH(nsXPLookAndFeelLog)
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#include "nsCOMPtr.h"
|
||||
#include "nslog.h"
|
||||
|
||||
NS_IMPL_LOG(nsTimerGtkLog, 0)
|
||||
NS_IMPL_LOG(nsTimerGtkLog)
|
||||
#define PRINTF NS_LOG_PRINTF(nsTimerGtkLog)
|
||||
#define FLUSH NS_LOG_FLUSH(nsTimerGtkLog)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче