Workaround compiler warnings and gtk+ deprecations
[terminatorX.git] / src / tX_widget.c
index 71ff5ca08d53cb04b50fee6208954b1af0b194bc..616c426605d4fd98aadf76a828445c77616ef922 100644 (file)
@@ -142,7 +142,7 @@ void gtk_tx_update_colors(GtkTx *tx, GdkRGBA *vtt_color) {
                color->alpha = frac*frac/2;
        }
        tx->render_buffer_fg = NULL;
-       gtk_tx_prepare(tx);
+       gtk_tx_prepare(GTK_WIDGET(tx));
 }