GtkTextBuffer *buffer;
#if !GTK_CHECK_VERSION(3,0,0)
GdkColormap *colormap;
-#endif
gboolean success[LOG_COUNT];
+#endif
gint i;
g_assert(logwin != NULL);
log_window_insert_text(buffer, &iter, str, logdefs[type].tag);
- if (gtk_widget_get_visible(text))
+ if (gtk_widget_get_visible(GTK_WIDGET(text)))
{
GtkTextMark *mark;