summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/debug.cpp
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-10-04 02:30:12 +0000
committerCampbell Barton <ideasman42@gmail.com>2012-10-04 02:30:12 +0000
commitaca1914d674a5e81234208248e3c8515a60dd19d (patch)
tree6b5aad94dc60e62e571cddc482528f62180e2981 /src/ui/dialog/debug.cpp
parentcode cleanup: make more functions static or include their own headers. (diff)
downloadinkscape-aca1914d674a5e81234208248e3c8515a60dd19d.tar.gz
inkscape-aca1914d674a5e81234208248e3c8515a60dd19d.zip
code cleanup: make more functions static, add includes.
(bzr r11737)
Diffstat (limited to 'src/ui/dialog/debug.cpp')
-rw-r--r--src/ui/dialog/debug.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/dialog/debug.cpp b/src/ui/dialog/debug.cpp
index a026f3501..da38e2dde 100644
--- a/src/ui/dialog/debug.cpp
+++ b/src/ui/dialog/debug.cpp
@@ -171,10 +171,10 @@ void DebugDialog::showInstance()
/*##### THIS IS THE IMPORTANT PART ##### */
-void dialogLoggingFunction(const gchar */*log_domain*/,
- GLogLevelFlags /*log_level*/,
- const gchar *messageText,
- gpointer user_data)
+static void dialogLoggingFunction(const gchar */*log_domain*/,
+ GLogLevelFlags /*log_level*/,
+ const gchar *messageText,
+ gpointer user_data)
{
DebugDialogImpl *dlg = static_cast<DebugDialogImpl *>(user_data);
dlg->message(messageText);