X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=log.c;h=fd5e2b831719966f0b5645619238c35757261df9;hb=1fe3e6cc2add04d9a4b7fd314cf75b619594b127;hp=3cc739e212fb9cd1136d7d7da9370b565cb963bd;hpb=3f63165cbcd9e3e512a7f117a025c406147b0466;p=sigrok-gtk.git diff --git a/log.c b/log.c index 3cc739e..fd5e2b8 100644 --- 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 * @@ -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;