X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=src%2Fgtk%2Fregwin.c;h=8b470a92f56b3bacac9e012d36ee15f826caa7ea;hb=d755f9638255472107ae445f4f82d8fcd3446b20;hp=8c4cd4d8a96b17d4aee4b0fe933b34277db75999;hpb=1eb382f72510d50b3636fb88c4bfaf17183672b6;p=emu8051.git diff --git a/src/gtk/regwin.c b/src/gtk/regwin.c index 8c4cd4d..8b470a9 100644 --- a/src/gtk/regwin.c +++ b/src/gtk/regwin.c @@ -82,6 +82,8 @@ regwin_cell_edited(GtkCellRendererText *cell, gchar *path_string, char *str; struct regwin_infos_t *regwin_infos; + (void) cell; /* Remove compiler warning about unused variables. */ + if (!model) { g_error("Unable to get model from cell renderer"); } @@ -237,7 +239,7 @@ regwin_refresh(void) } if (!valid) { - printf("Invalid iter...\n"); + log_err("Tree model: invalid iter"); return; }