]> sigrok.org Git - sigrok-gtk.git/blobdiff - log.c
README: Add "Copyright and license" section.
[sigrok-gtk.git] / log.c
diff --git a/log.c b/log.c
index 3cc739e212fb9cd1136d7d7da9370b565cb963bd..fd5e2b831719966f0b5645619238c35757261df9 100644 (file)
--- a/log.c
+++ b/log.c
@@ -1,5 +1,5 @@
 /*
- * This file is part of the sigrok project.
+ * This file is part of the sigrok-gtk project.
  *
  * Copyright (C) 2011 Gareth McMullin <gareth@blacksphere.co.nz>
  *
@@ -21,9 +21,9 @@
 #include "sigrok-gtk.h"
 
 static void logger(const gchar *log_domain, GLogLevelFlags log_level,
-                  const gchar *message, gpointer user_data)
+                  const gchar *message, gpointer cb_data)
 {
-       GtkTextView *tv = user_data;
+       GtkTextView *tv = cb_data;
        g_return_if_fail(GTK_IS_TEXT_VIEW(tv));
        GtkTextBuffer *tb = gtk_text_view_get_buffer(tv);
        GtkTextIter iter;